From 0c3637f05fafc4be89a46816eabfc30274be7759 Mon Sep 17 00:00:00 2001 From: DB Tsai Date: Wed, 26 Nov 2014 00:05:27 -0800 Subject: [PATCH] add import org.apache.spark.SparkContext._ back --- .../main/scala/org/apache/spark/mllib/clustering/KMeans.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala b/mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala index 2fa01fbc9d9dd..0f8dee58d8464 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/clustering/KMeans.scala @@ -23,6 +23,7 @@ import breeze.linalg.{DenseVector => BDV, Vector => BV} import org.apache.spark.annotation.Experimental import org.apache.spark.Logging +import org.apache.spark.SparkContext._ import org.apache.spark.mllib.linalg.{Vector, Vectors} import org.apache.spark.mllib.util.MLUtils import org.apache.spark.rdd.RDD