Binary compatibility report for the spark-indexedrdd-0.2 library between 1.4.0 and 1.1.0 versions (relating to the portability of client application spark-indexedrdd-0.2.jar)
Test Info
Library Name | spark-indexedrdd-0.2 |
Version #1 | 1.4.0 |
Version #2 | 1.1.0 |
Java Version | 1.7.0_75 |
Test Results
Total Java ARchives | 1 |
---|
Total Methods / Classes | 77 / 1925 |
---|
Verdict | Incompatible (27.3%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 3 |
---|
Removed Methods | High | 12 |
---|
Problems with Data Types | High | 6 |
---|
Medium | 0 |
Low | 7 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 7 |
Added Methods (3)
spark-core_2.10-1.1.0.jar, TaskContext.class
package org.apache.spark
TaskContext.markInterrupted ( ) : void
[mangled: org/apache/spark/TaskContext.markInterrupted:()V]
TaskContext.markTaskCompleted ( ) : void
[mangled: org/apache/spark/TaskContext.markTaskCompleted:()V]
TaskContext.TaskContext ( int stageId, int partitionId, long attemptId, boolean runningLocally, executor.TaskMetrics taskMetrics )
[mangled: org/apache/spark/TaskContext."<init>":(IIJZLorg/apache/spark/executor/TaskMetrics;)V]
to the top
Removed Methods (12)
spark-core_2.10-1.4.0.jar, StorageLevel.class
package org.apache.spark.storage
StorageLevel.StorageLevel.._deserialized_.eq ( boolean p1 ) : void
[mangled: org/apache/spark/storage/StorageLevel.org.apache.spark.storage.StorageLevel.._deserialized_.eq:(Z)V]
StorageLevel.StorageLevel.._replication ( ) : int
[mangled: org/apache/spark/storage/StorageLevel.org.apache.spark.storage.StorageLevel.._replication:()I]
StorageLevel.StorageLevel.._replication_.eq ( int p1 ) : void
[mangled: org/apache/spark/storage/StorageLevel.org.apache.spark.storage.StorageLevel.._replication_.eq:(I)V]
StorageLevel.StorageLevel.._useDisk_.eq ( boolean p1 ) : void
[mangled: org/apache/spark/storage/StorageLevel.org.apache.spark.storage.StorageLevel.._useDisk_.eq:(Z)V]
StorageLevel.StorageLevel.._useMemory_.eq ( boolean p1 ) : void
[mangled: org/apache/spark/storage/StorageLevel.org.apache.spark.storage.StorageLevel.._useMemory_.eq:(Z)V]
StorageLevel.StorageLevel.._useOffHeap_.eq ( boolean p1 ) : void
[mangled: org/apache/spark/storage/StorageLevel.org.apache.spark.storage.StorageLevel.._useOffHeap_.eq:(Z)V]
spark-core_2.10-1.4.0.jar, TaskContext.class
package org.apache.spark
TaskContext.attemptNumber ( ) [abstract] : int
[mangled: org/apache/spark/TaskContext.attemptNumber:()I]
TaskContext.get ( ) [static] : TaskContext
[mangled: org/apache/spark/TaskContext.get:()Lorg/apache/spark/TaskContext;]
TaskContext.isRunningLocally ( ) [abstract] : boolean
[mangled: org/apache/spark/TaskContext.isRunningLocally:()Z]
TaskContext.taskAttemptId ( ) [abstract] : long
[mangled: org/apache/spark/TaskContext.taskAttemptId:()J]
TaskContext.TaskContext ( )
[mangled: org/apache/spark/TaskContext."<init>":()V]
TaskContext.taskMemoryManager ( ) [abstract] : unsafe.memory.TaskMemoryManager
[mangled: org/apache/spark/TaskContext.taskMemoryManager:()Lorg/apache/spark/unsafe/memory/TaskMemoryManager;]
to the top
Problems with Data Types, High Severity (6)
spark-core_2.10-1.4.0.jar
package org.apache.spark
[+] SparkContext (1)
| Change | Effect |
---|
1 | Removed super-interface ExecutorAllocationClient. | A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods (2)
parallelize ( scala.collection.Seq<T>, int, scala.reflect.ClassTag<T> )This method is from 'SparkContext' class.
runJob ( rdd.RDD<T>, scala.Function2<TaskContext,scala.collection.Iterator<T>,U>, scala.collection.Seq<java.lang.Object>, boolean, scala.reflect.ClassTag<U> )This method is from 'SparkContext' class.
[+] TaskContext (5)
| Change | Effect |
---|
1 | Abstract method attemptNumber ( ) has been removed from this class. | A client program may be interrupted by NoSuchMethodError exception. |
2 | Abstract method isRunningLocally ( ) has been removed from this class. | A client program may be interrupted by NoSuchMethodError exception. |
3 | Abstract method taskAttemptId ( ) has been removed from this class. | A client program may be interrupted by NoSuchMethodError exception. |
4 | Abstract method taskMemoryManager ( ) has been removed from this class. | A client program may be interrupted by NoSuchMethodError exception. |
5 | Removed super-interface java.io.Serializable. | A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods (7)
addTaskCompletionListener ( util.TaskCompletionListener )Return value of this abstract method has type 'TaskContext'.
addTaskCompletionListener ( scala.Function1<TaskContext,scala.runtime.BoxedUnit> )Return value of this abstract method has type 'TaskContext'.
isCompleted ( )This abstract method is from 'TaskContext' abstract class.
isInterrupted ( )This abstract method is from 'TaskContext' abstract class.
partitionId ( )This abstract method is from 'TaskContext' abstract class.
stageId ( )This abstract method is from 'TaskContext' abstract class.
taskMetrics ( )This abstract method is from 'TaskContext' abstract class.
to the top
Problems with Data Types, Low Severity (7)
spark-core_2.10-1.4.0.jar
package org.apache.spark
[+] TaskContext (7)
| Change | Effect |
---|
1 | Abstract method addTaskCompletionListener ( util.TaskCompletionListener ) became non-abstract. | Some methods in this class may change behavior. |
2 | Abstract method addTaskCompletionListener ( scala.Function1<TaskContext,scala.runtime.BoxedUnit> ) became non-abstract. | Some methods in this class may change behavior. |
3 | Abstract method isCompleted ( ) became non-abstract. | Some methods in this class may change behavior. |
4 | Abstract method isInterrupted ( ) became non-abstract. | Some methods in this class may change behavior. |
5 | Abstract method partitionId ( ) became non-abstract. | Some methods in this class may change behavior. |
6 | Abstract method stageId ( ) became non-abstract. | Some methods in this class may change behavior. |
7 | Abstract method taskMetrics ( ) became non-abstract. | Some methods in this class may change behavior. |
[+] affected methods (7)
addTaskCompletionListener ( util.TaskCompletionListener )This abstract method is from 'TaskContext' abstract class.
addTaskCompletionListener ( scala.Function1<TaskContext,scala.runtime.BoxedUnit> )This abstract method is from 'TaskContext' abstract class.
isCompleted ( )This abstract method is from 'TaskContext' abstract class.
isInterrupted ( )This abstract method is from 'TaskContext' abstract class.
partitionId ( )This abstract method is from 'TaskContext' abstract class.
stageId ( )This abstract method is from 'TaskContext' abstract class.
taskMetrics ( )This abstract method is from 'TaskContext' abstract class.
to the top
Problems with Methods, Low Severity (7)
spark-core_2.10-1.4.0.jar, TaskContext
package org.apache.spark
[+] TaskContext.addTaskCompletionListener ( util.TaskCompletionListener p1 ) [abstract] : TaskContext (1)
[mangled: org/apache/spark/TaskContext.addTaskCompletionListener:(Lorg/apache/spark/util/TaskCompletionListener;)Lorg/apache/spark/TaskContext;]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
[+] TaskContext.addTaskCompletionListener ( scala.Function1<TaskContext,scala.runtime.BoxedUnit> p1 ) [abstract] : TaskContext (1)
[mangled: org/apache/spark/TaskContext.addTaskCompletionListener:(Lscala/Function1;)Lorg/apache/spark/TaskContext;]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
[+] TaskContext.isCompleted ( ) [abstract] : boolean (1)
[mangled: org/apache/spark/TaskContext.isCompleted:()Z]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
[+] TaskContext.isInterrupted ( ) [abstract] : boolean (1)
[mangled: org/apache/spark/TaskContext.isInterrupted:()Z]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
[+] TaskContext.partitionId ( ) [abstract] : int (1)
[mangled: org/apache/spark/TaskContext.partitionId:()I]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
[+] TaskContext.stageId ( ) [abstract] : int (1)
[mangled: org/apache/spark/TaskContext.stageId:()I]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
[+] TaskContext.taskMetrics ( ) [abstract] : executor.TaskMetrics (1)
[mangled: org/apache/spark/TaskContext.taskMetrics:()Lorg/apache/spark/executor/TaskMetrics;]
| Change | Effect |
---|
1 | Method became non-abstract.
| A client program may change behavior. |
to the top
Java ARchives (1)
spark-core_2.10-1.4.0.jar
to the top
Generated on Wed Aug 19 22:09:30 2015 for spark-indexedrdd-0.2 by Java API Compliance Checker 1.4.1
A tool for checking backward compatibility of a Java library API