Repository: spark Updated Branches: refs/heads/master 9d5ecf820 -> f7ce1b3b4
[SPARK-1977][MLLIB] register mutable BitSet in MovieLenseALS Author: Neville Li <[email protected]> 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 <[email protected]> Authored: Mon Jul 7 15:06:14 2014 -0700 Committer: Xiangrui Meng <[email protected]> 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]) } }
