Skip to content

Commit c25c669

Browse files
eranationAndrew Or
authored andcommitted
change signature of example to match released code
the signature of registerKryoClasses is actually of Array[Class[_]] not Seq Author: Eran Medan <[email protected]> Closes #3747 from eranation/patch-1 and squashes the following commits: ee9885d [Eran Medan] change signature of example to match released code
1 parent 4564519 commit c25c669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tuning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ To register your own custom classes with Kryo, use the `registerKryoClasses` met
5151

5252
{% highlight scala %}
5353
val conf = new SparkConf().setMaster(...).setAppName(...)
54-
conf.registerKryoClasses(Seq(classOf[MyClass1], classOf[MyClass2]))
54+
conf.registerKryoClasses(Array(classOf[MyClass1], classOf[MyClass2]))
5555
val sc = new SparkContext(conf)
5656
{% endhighlight %}
5757

0 commit comments

Comments
 (0)