Repository: spark
Updated Branches:
  refs/heads/branch-1.0 b459aa77f -> 5044ba60a


[SPARK-1977][MLLIB] register mutable BitSet in MovieLenseALS

Author: Neville Li <nevi...@spotify.com>

Closes #1319 from nevillelyh/gh/SPARK-1977 and squashes the following commits:

1f0a355 [Neville Li] [SPARK-1977][MLLIB] register mutable BitSet in 
MovieLenseALS

(cherry picked from commit f7ce1b3b48f0354434456241188c6a5d954852e2)
Signed-off-by: Xiangrui Meng <m...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5044ba60
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5044ba60
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5044ba60

Branch: refs/heads/branch-1.0
Commit: 5044ba60a92495124b97ee97b87a45ce46d6073e
Parents: b459aa7
Author: Neville Li <nevi...@spotify.com>
Authored: Mon Jul 7 15:06:14 2014 -0700
Committer: Xiangrui Meng <m...@databricks.com>
Committed: Mon Jul 7 15:08:10 2014 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5044ba60/examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala
----------------------------------------------------------------------
diff --git 
a/examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala 
b/examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala
index 6eb41e7..7a5a4cc 100644
--- a/examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala
+++ b/examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala
@@ -17,6 +17,8 @@
 
 package org.apache.spark.examples.mllib
 
+import scala.collection.mutable
+
 import com.esotericsoftware.kryo.Kryo
 import org.apache.log4j.{Level, Logger}
 import scopt.OptionParser
@@ -41,6 +43,7 @@ object MovieLensALS {
   class ALSRegistrator extends KryoRegistrator {
     override def registerClasses(kryo: Kryo) {
       kryo.register(classOf[Rating])
+      kryo.register(classOf[mutable.BitSet])
     }
   }
 

Reply via email to