diff options
author | Neville Li <neville@spotify.com> | 2014-07-07 15:06:14 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2014-07-07 15:06:14 -0700 |
commit | f7ce1b3b48f0354434456241188c6a5d954852e2 (patch) | |
tree | b83258650432d8259c3eb80ac3937bafcd6c32c5 /examples/src | |
parent | 9d5ecf8205b924dc8a3c13fed68beb78cc5c7553 (diff) | |
download | spark-f7ce1b3b48f0354434456241188c6a5d954852e2.tar.gz spark-f7ce1b3b48f0354434456241188c6a5d954852e2.tar.bz2 spark-f7ce1b3b48f0354434456241188c6a5d954852e2.zip |
[SPARK-1977][MLLIB] register mutable BitSet in MovieLenseALS
Author: Neville Li <neville@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
Diffstat (limited to 'examples/src')
-rw-r--r-- | examples/src/main/scala/org/apache/spark/examples/mllib/MovieLensALS.scala | 3 |
1 files changed, 3 insertions, 0 deletions
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 28e201d279..98aaedb9d7 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]) } } |