Binary compatibility report for the spark-knn-0.1.0 library between 1.5.0 and 1.2.0 versions (relating to the portability of client application spark-knn-0.1.0.jar)
Test Info
Library Name | spark-knn-0.1.0 |
Version #1 | 1.5.0 |
Version #2 | 1.2.0 |
Java Version | 1.7.0_85 |
Test Results
Total Java ARchives | 2 |
---|
Total Methods / Classes | 82 / 2769 |
---|
Verdict | Incompatible (48.2%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 3 |
---|
Removed Methods | High | 28 |
---|
Problems with Data Types | High | 10 |
---|
Medium | 1 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 1 |
Added Methods (3)
spark-mllib_2.10-1.2.0.jar, DoubleParam.class
package org.apache.spark.ml.param
DoubleParam.DoubleParam ( Params parent, String name, String doc, scala.Option<Object> defaultValue )
[mangled: org/apache/spark/ml/param/DoubleParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;Lscala/Option;)V]
spark-mllib_2.10-1.2.0.jar, IntParam.class
package org.apache.spark.ml.param
IntParam.IntParam ( Params parent, String name, String doc, scala.Option<Object> defaultValue )
[mangled: org/apache/spark/ml/param/IntParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;Lscala/Option;)V]
spark-mllib_2.10-1.2.0.jar, LongParam.class
package org.apache.spark.ml.param
LongParam.LongParam ( Params parent, String name, String doc, scala.Option<Object> defaultValue )
[mangled: org/apache/spark/ml/param/LongParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;Lscala/Option;)V]
to the top
Removed Methods (28)
spark-mllib_2.10-1.5.0.jar, DoubleParam.class
package org.apache.spark.ml.param
DoubleParam.DoubleParam ( org.apache.spark.ml.util.Identifiable parent, String name, String doc )
[mangled: org/apache/spark/ml/param/DoubleParam."<init>":(Lorg/apache/spark/ml/util/Identifiable;Ljava/lang/String;Ljava/lang/String;)V]
DoubleParam.DoubleParam ( org.apache.spark.ml.util.Identifiable parent, String name, String doc, scala.Function1<Object,Object> isValid )
[mangled: org/apache/spark/ml/param/DoubleParam."<init>":(Lorg/apache/spark/ml/util/Identifiable;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
DoubleParam.DoubleParam ( String parent, String name, String doc )
[mangled: org/apache/spark/ml/param/DoubleParam."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
DoubleParam.DoubleParam ( String parent, String name, String doc, scala.Function1<Object,Object> isValid )
[mangled: org/apache/spark/ml/param/DoubleParam."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
spark-mllib_2.10-1.5.0.jar, IntParam.class
package org.apache.spark.ml.param
IntParam.IntParam ( org.apache.spark.ml.util.Identifiable parent, String name, String doc )
[mangled: org/apache/spark/ml/param/IntParam."<init>":(Lorg/apache/spark/ml/util/Identifiable;Ljava/lang/String;Ljava/lang/String;)V]
IntParam.IntParam ( org.apache.spark.ml.util.Identifiable parent, String name, String doc, scala.Function1<Object,Object> isValid )
[mangled: org/apache/spark/ml/param/IntParam."<init>":(Lorg/apache/spark/ml/util/Identifiable;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
IntParam.IntParam ( String parent, String name, String doc )
[mangled: org/apache/spark/ml/param/IntParam."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
IntParam.IntParam ( String parent, String name, String doc, scala.Function1<Object,Object> isValid )
[mangled: org/apache/spark/ml/param/IntParam."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
spark-mllib_2.10-1.5.0.jar, LongParam.class
package org.apache.spark.ml.param
LongParam.LongParam ( org.apache.spark.ml.util.Identifiable parent, String name, String doc )
[mangled: org/apache/spark/ml/param/LongParam."<init>":(Lorg/apache/spark/ml/util/Identifiable;Ljava/lang/String;Ljava/lang/String;)V]
LongParam.LongParam ( org.apache.spark.ml.util.Identifiable parent, String name, String doc, scala.Function1<Object,Object> isValid )
[mangled: org/apache/spark/ml/param/LongParam."<init>":(Lorg/apache/spark/ml/util/Identifiable;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
LongParam.LongParam ( String parent, String name, String doc )
[mangled: org/apache/spark/ml/param/LongParam."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V]
LongParam.LongParam ( String parent, String name, String doc, scala.Function1<Object,Object> isValid )
[mangled: org/apache/spark/ml/param/LongParam."<init>":(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
spark-mllib_2.10-1.5.0.jar, MultiClassSummarizer.class
package org.apache.spark.ml.classification
MultiClassSummarizer.countInvalid ( ) : long
[mangled: org/apache/spark/ml/classification/MultiClassSummarizer.countInvalid:()J]
MultiClassSummarizer.histogram ( ) : long[ ]
[mangled: org/apache/spark/ml/classification/MultiClassSummarizer.histogram:()[J]
MultiClassSummarizer.MultiClassSummarizer ( )
[mangled: org/apache/spark/ml/classification/MultiClassSummarizer."<init>":()V]
spark-mllib_2.10-1.5.0.jar, ParamMap.class
package org.apache.spark.ml.param
ParamMap.getOrElse ( Param<T> param, T default ) : T
[mangled: org/apache/spark/ml/param/ParamMap.getOrElse:(Lorg/apache/spark/ml/param/Param;Ljava/lang/Object;)Ljava/lang/Object;]
ParamMap.ParamMap..map ( ) : scala.collection.mutable.Map<Param<Object>,Object>
[mangled: org/apache/spark/ml/param/ParamMap.org.apache.spark.ml.param.ParamMap..map:()Lscala/collection/mutable/Map;]
ParamMap.remove ( Param<T> param ) : scala.Option<T>
[mangled: org/apache/spark/ml/param/ParamMap.remove:(Lorg/apache/spark/ml/param/Param;)Lscala/Option;]
ParamMap.size ( ) : int
[mangled: org/apache/spark/ml/param/ParamMap.size:()I]
spark-mllib_2.10-1.5.0.jar, StringArrayParam.class
package org.apache.spark.ml.param
StringArrayParam.StringArrayParam ( Params parent, String name, String doc )
[mangled: org/apache/spark/ml/param/StringArrayParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;)V]
StringArrayParam.StringArrayParam ( Params parent, String name, String doc, scala.Function1<String[ ],Object> isValid )
[mangled: org/apache/spark/ml/param/StringArrayParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;Lscala/Function1;)V]
StringArrayParam.w ( java.util.List<String> value ) : ParamPair<String[ ]>
[mangled: org/apache/spark/ml/param/StringArrayParam.w:(Ljava/util/List;)Lorg/apache/spark/ml/param/ParamPair;]
spark-mllib_2.10-1.5.0.jar, Vector.class
package org.apache.spark.mllib.linalg
Vector.argmax ( ) [abstract] : int
[mangled: org/apache/spark/mllib/linalg/Vector.argmax:()I]
Vector.compressed ( ) [abstract] : Vector
[mangled: org/apache/spark/mllib/linalg/Vector.compressed:()Lorg/apache/spark/mllib/linalg/Vector;]
Vector.numActives ( ) [abstract] : int
[mangled: org/apache/spark/mllib/linalg/Vector.numActives:()I]
Vector.numNonzeros ( ) [abstract] : int
[mangled: org/apache/spark/mllib/linalg/Vector.numNonzeros:()I]
Vector.toDense ( ) [abstract] : DenseVector
[mangled: org/apache/spark/mllib/linalg/Vector.toDense:()Lorg/apache/spark/mllib/linalg/DenseVector;]
Vector.toSparse ( ) [abstract] : SparseVector
[mangled: org/apache/spark/mllib/linalg/Vector.toSparse:()Lorg/apache/spark/mllib/linalg/SparseVector;]
to the top
Problems with Data Types, High Severity (10)
spark-core_2.10-1.5.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)
broadcast ( T, scala.reflect.ClassTag<T> )This method is from 'SparkContext' class.
parallelize ( scala.collection.Seq<T>, int, scala.reflect.ClassTag<T> )This method is from 'SparkContext' class.
spark-mllib_2.10-1.5.0.jar
package org.apache.spark.ml.classification
[+] MultiClassSummarizer (1)
| Change | Effect |
---|
1 | This class has been removed. | A client program may be interrupted by NoClassDefFoundError exception. |
[+] affected methods (3)
countInvalid ( )This method is from 'MultiClassSummarizer' class.
histogram ( )This method is from 'MultiClassSummarizer' class.
MultiClassSummarizer ( )This constructor is from 'MultiClassSummarizer' class.
package org.apache.spark.ml.param
[+] Params (1)
| Change | Effect |
---|
1 | Removed super-interface org.apache.spark.ml.util.Identifiable. | A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods (1)
filter ( Params )1st parameter 'parent' of this method has type 'Params'.
[+] StringArrayParam (1)
| Change | Effect |
---|
1 | This class has been removed. | A client program may be interrupted by NoClassDefFoundError exception. |
[+] affected methods (3)
StringArrayParam ( Params, java.lang.String, java.lang.String )This constructor is from 'StringArrayParam' class.
StringArrayParam ( Params, java.lang.String, java.lang.String, scala.Function1<java.lang.String[ ],java.lang.Object> )This constructor is from 'StringArrayParam' class.
w ( java.util.List<java.lang.String> )This method is from 'StringArrayParam' class.
package org.apache.spark.mllib.linalg
[+] Vector (6)
| Change | Effect |
---|
1 | Abstract method argmax ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
2 | Abstract method compressed ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
3 | Abstract method numActives ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
4 | Abstract method numNonzeros ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
5 | Abstract method toDense ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
6 | Abstract method toSparse ( ) has been removed from this interface. | A client program may be interrupted by NoSuchMethodError exception. |
[+] affected methods (8)
apply ( int )This abstract method is from 'Vector' interface.
copy ( )Return value of this abstract method has type 'Vector'.
equals ( java.lang.Object )This abstract method is from 'Vector' interface.
foreachActive ( scala.Function2<java.lang.Object,java.lang.Object,scala.runtime.BoxedUnit> )This abstract method is from 'Vector' interface.
hashCode ( )This abstract method is from 'Vector' interface.
size ( )This abstract method is from 'Vector' interface.
toArray ( )This abstract method is from 'Vector' interface.
toBreeze ( )This abstract method is from 'Vector' interface.
to the top
Problems with Data Types, Medium Severity (1)
spark-mllib_2.10-1.5.0.jar
package org.apache.spark.mllib.linalg
[+] VectorUDT (1)
| Change | Effect |
---|
1 | Superclass has been changed from org.apache.spark.sql.types.UserDefinedType<Vector> to org.apache.spark.sql.catalyst.types.UserDefinedType<Vector>. | 1) Access of a client program to the fields or methods of the old super-class may be interrupted by NoSuchFieldError or NoSuchMethodError exceptions. 2) A static field from a super-interface of a client class may hide a field (with the same name) inherited from new super-class and cause IncompatibleClassChangeError exception. |
[+] affected methods (1)
VectorUDT ( )This constructor is from 'VectorUDT' class.
to the top
Other Changes in Data Types (1)
spark-mllib_2.10-1.5.0.jar
package org.apache.spark.ml.param
[+] Params (1)
| Change | Effect |
---|
1 | Added super-interface org.apache.spark.ml.Identifiable. | No effect. |
[+] affected methods (1)
filter ( Params )1st parameter 'parent' of this method has type 'Params'.
to the top
Java ARchives (2)
spark-core_2.10-1.5.0.jar
spark-mllib_2.10-1.5.0.jar
to the top
Generated on Mon Nov 23 04:41:44 2015 for spark-knn-0.1.0 by Java API Compliance Checker 1.4.1
A tool for checking backward compatibility of a Java library API