Binary compatibility report for the spark-knn-0.1.0 library between 1.5.0 and 1.3.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.3.0 |
Java Version | 1.7.0_85 |
Test Results
Total Java ARchives | 2 |
---|
Total Methods / Classes | 85 / 2769 |
---|
Verdict | Incompatible (42.4%) |
Problem Summary
| Severity | Count |
---|
Added Methods | - | 6 |
---|
Removed Methods | High | 27 |
---|
Problems with Data Types | High | 9 |
---|
Medium | 0 |
Low | 0 |
Problems with Methods | High | 0 |
---|
Medium | 0 |
Low | 0 |
Other Changes in Data Types | - | 1 |
Added Methods (6)
spark-mllib_2.10-1.3.0.jar, DoubleParam.class
package org.apache.spark.ml.param
DoubleParam.DoubleParam ( Params parent, String name, String doc )
[mangled: org/apache/spark/ml/param/DoubleParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;)V]
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.3.0.jar, IntParam.class
package org.apache.spark.ml.param
IntParam.IntParam ( Params parent, String name, String doc )
[mangled: org/apache/spark/ml/param/IntParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;)V]
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.3.0.jar, LongParam.class
package org.apache.spark.ml.param
LongParam.LongParam ( Params parent, String name, String doc )
[mangled: org/apache/spark/ml/param/LongParam."<init>":(Lorg/apache/spark/ml/param/Params;Ljava/lang/String;Ljava/lang/String;)V]
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 (27)
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;]
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 (9)
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
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:43:34 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