diff options
author | Andrew Ash <ash211@gmail.com> | 2013-03-28 19:17:39 -0300 |
---|---|---|
committer | Andrew Ash <ash211@gmail.com> | 2013-03-28 19:17:39 -0300 |
commit | e8f3669c639ed51ee7c87864634f55b84fcc228f (patch) | |
tree | 2a8716f0bf86d95044c019d6f25dc6ac62b765ad /docs | |
parent | bc36ee4fbbe3ad3b7e15fbdba53de42a29b81a9f (diff) | |
download | spark-e8f3669c639ed51ee7c87864634f55b84fcc228f.tar.gz spark-e8f3669c639ed51ee7c87864634f55b84fcc228f.tar.bz2 spark-e8f3669c639ed51ee7c87864634f55b84fcc228f.zip |
Update tuning.md
Make the example more compilable
Diffstat (limited to 'docs')
-rw-r--r-- | docs/tuning.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tuning.md b/docs/tuning.md index 843380b9a2..32c7ab86e9 100644 --- a/docs/tuning.md +++ b/docs/tuning.md @@ -49,7 +49,7 @@ Finally, to register your classes with Kryo, create a public class that extends {% highlight scala %} import com.esotericsoftware.kryo.Kryo -class MyRegistrator extends KryoRegistrator { +class MyRegistrator extends spark.KryoRegistrator { override def registerClasses(kryo: Kryo) { kryo.register(classOf[MyClass1]) kryo.register(classOf[MyClass2]) |