You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by me...@apache.org on 2014/07/08 00:06:27 UTC

git commit: [SPARK-1977][MLLIB] register mutable BitSet in MovieLenseALS

Repository: spark
Updated Branches:
  refs/heads/master 9d5ecf820 -> f7ce1b3b4


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

Author: Neville Li <ne...@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


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

Branch: refs/heads/master
Commit: f7ce1b3b48f0354434456241188c6a5d954852e2
Parents: 9d5ecf8
Author: Neville Li <ne...@spotify.com>
Authored: Mon Jul 7 15:06:14 2014 -0700
Committer: Xiangrui Meng <me...@databricks.com>
Committed: Mon Jul 7 15:06:14 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/f7ce1b3b/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 28e201d..98aaedb 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])
     }
   }