diff options
author | Liwei Lin <lwlin7@gmail.com> | 2016-03-26 12:41:34 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-03-26 12:41:34 +0000 |
commit | 62a85eb09f3e33d7b8948bb96c67859d712b34e3 (patch) | |
tree | 942abebabb86a7ae0b8aaf48bd095133b848fb0c /project/MimaExcludes.scala | |
parent | 1808465855a8e2ce554b024ad5ff530457584aed (diff) | |
download | spark-62a85eb09f3e33d7b8948bb96c67859d712b34e3.tar.gz spark-62a85eb09f3e33d7b8948bb96c67859d712b34e3.tar.bz2 spark-62a85eb09f3e33d7b8948bb96c67859d712b34e3.zip |
[SPARK-14089][CORE][MLLIB] Remove methods that has been deprecated since 1.1, 1.2, 1.3, 1.4, and 1.5
## What changes were proposed in this pull request?
Removed methods that has been deprecated since 1.1, 1.2, 1.3, 1.4, and 1.5.
## How was this patch tested?
- manully checked that no codes in Spark call these methods any more
- existing test suits
Author: Liwei Lin <lwlin7@gmail.com>
Author: proflin <proflin.me@gmail.com>
Closes #11910 from lw-lin/remove-deprecates.
Diffstat (limited to 'project/MimaExcludes.scala')
-rw-r--r-- | project/MimaExcludes.scala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/project/MimaExcludes.scala b/project/MimaExcludes.scala index 915898389c..208c7a28cf 100644 --- a/project/MimaExcludes.scala +++ b/project/MimaExcludes.scala @@ -576,6 +576,19 @@ object MimaExcludes { ) ++ Seq( // [SPARK-13990] Automatically pick serializer when caching RDDs ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.network.netty.NettyBlockTransferService.uploadBlock") + ) ++ Seq( + // [SPARK-14089][CORE][MLLIB] Remove methods that has been deprecated since 1.1, 1.2, 1.3, 1.4, and 1.5 + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.SparkEnv.getThreadLocal"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.rdd.RDDFunctions.treeReduce"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.rdd.RDDFunctions.treeAggregate"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.tree.configuration.Strategy.defaultStategy"), + ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.mllib.util.MLUtils.loadLibSVMFile"), + ProblemFilters.exclude[IncompatibleMethTypeProblem]("org.apache.spark.mllib.util.MLUtils.loadLibSVMFile"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.util.MLUtils.loadLibSVMFile"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.util.MLUtils.saveLabeledData"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.util.MLUtils.loadLabeledData"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.mllib.optimization.LBFGS.setMaxNumIterations"), + ProblemFilters.exclude[DirectMissingMethodProblem]("org.apache.spark.ml.evaluation.BinaryClassificationEvaluator.setScoreCol") ) case v if v.startsWith("1.6") => Seq( |