aboutsummaryrefslogtreecommitdiff
path: root/examples/src
diff options
context:
space:
mode:
authorNeville Li <neville@spotify.com>2014-07-07 15:06:14 -0700
committerXiangrui Meng <meng@databricks.com>2014-07-07 15:06:14 -0700
commitf7ce1b3b48f0354434456241188c6a5d954852e2 (patch)
treeb83258650432d8259c3eb80ac3937bafcd6c32c5 /examples/src
parent9d5ecf8205b924dc8a3c13fed68beb78cc5c7553 (diff)
downloadspark-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.scala3
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])
}
}