From e8f3669c639ed51ee7c87864634f55b84fcc228f Mon Sep 17 00:00:00 2001 From: Andrew Ash Date: Thu, 28 Mar 2013 19:17:39 -0300 Subject: Update tuning.md Make the example more compilable --- docs/tuning.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/tuning.md') 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]) -- cgit v1.2.3