Repository: spark Updated Branches: refs/heads/branch-1.3 fba2dc663 -> c83d118fa
[HOTFIX] MLlib build break. (cherry picked from commit 6580929fa029c4010dd4170de9be9f18516f8e5a) Signed-off-by: Reynold Xin <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c83d118f Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c83d118f Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c83d118f Branch: refs/heads/branch-1.3 Commit: c83d118fa0b623ca87e40d389a7d5596ed5dc5a4 Parents: fba2dc6 Author: Reynold Xin <[email protected]> Authored: Thu Feb 5 00:42:50 2015 -0800 Committer: Reynold Xin <[email protected]> Committed: Thu Feb 5 12:00:49 2015 -0800 ---------------------------------------------------------------------- .../scala/org/apache/spark/mllib/classification/NaiveBayes.scala | 2 +- .../spark/mllib/classification/impl/GLMClassificationModel.scala | 2 +- .../apache/spark/mllib/regression/impl/GLMRegressionModel.scala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c83d118f/mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala ---------------------------------------------------------------------- diff --git a/mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala b/mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala index 4bafd49..d9ce282 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/classification/NaiveBayes.scala @@ -92,7 +92,7 @@ object NaiveBayesModel extends Loader[NaiveBayesModel] { def save(sc: SparkContext, path: String, data: Data): Unit = { val sqlContext = new SQLContext(sc) - import sqlContext._ + import sqlContext.implicits._ // Create JSON metadata. val metadataRDD = http://git-wip-us.apache.org/repos/asf/spark/blob/c83d118f/mllib/src/main/scala/org/apache/spark/mllib/classification/impl/GLMClassificationModel.scala ---------------------------------------------------------------------- diff --git a/mllib/src/main/scala/org/apache/spark/mllib/classification/impl/GLMClassificationModel.scala b/mllib/src/main/scala/org/apache/spark/mllib/classification/impl/GLMClassificationModel.scala index b60c0cd..8d60057 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/classification/impl/GLMClassificationModel.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/classification/impl/GLMClassificationModel.scala @@ -49,7 +49,7 @@ private[classification] object GLMClassificationModel { intercept: Double, threshold: Option[Double]): Unit = { val sqlContext = new SQLContext(sc) - import sqlContext._ + import sqlContext.implicits._ // Create JSON metadata. val metadataRDD = http://git-wip-us.apache.org/repos/asf/spark/blob/c83d118f/mllib/src/main/scala/org/apache/spark/mllib/regression/impl/GLMRegressionModel.scala ---------------------------------------------------------------------- diff --git a/mllib/src/main/scala/org/apache/spark/mllib/regression/impl/GLMRegressionModel.scala b/mllib/src/main/scala/org/apache/spark/mllib/regression/impl/GLMRegressionModel.scala index 00f25a8..838100e 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/regression/impl/GLMRegressionModel.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/regression/impl/GLMRegressionModel.scala @@ -45,7 +45,7 @@ private[regression] object GLMRegressionModel { weights: Vector, intercept: Double): Unit = { val sqlContext = new SQLContext(sc) - import sqlContext._ + import sqlContext.implicits._ // Create JSON metadata. val metadataRDD = --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
