aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEran Medan <ehrann.mehdan@gmail.com>2014-12-19 18:29:36 -0800
committerAndrew Or <andrew@databricks.com>2014-12-19 18:29:36 -0800
commit4da1039840182e8e8bc836b89cda7b77fe7356d9 (patch)
treee3dca1e97b46ee24ad249530f039e19971978351 /docs
parentf930fe893959959bd1e69f1e08df49dd5d6dab17 (diff)
downloadspark-4da1039840182e8e8bc836b89cda7b77fe7356d9.tar.gz
spark-4da1039840182e8e8bc836b89cda7b77fe7356d9.tar.bz2
spark-4da1039840182e8e8bc836b89cda7b77fe7356d9.zip
change signature of example to match released code
the signature of registerKryoClasses is actually of Array[Class[_]] not Seq Author: Eran Medan <ehrann.mehdan@gmail.com> Closes #3747 from eranation/patch-1 and squashes the following commits: ee9885d [Eran Medan] change signature of example to match released code
Diffstat (limited to 'docs')
-rw-r--r--docs/tuning.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tuning.md b/docs/tuning.md
index e2fdcfe6a3..efaac9d3d4 100644
--- a/docs/tuning.md
+++ b/docs/tuning.md
@@ -51,7 +51,7 @@ To register your own custom classes with Kryo, use the `registerKryoClasses` met
{% highlight scala %}
val conf = new SparkConf().setMaster(...).setAppName(...)
-conf.registerKryoClasses(Seq(classOf[MyClass1], classOf[MyClass2]))
+conf.registerKryoClasses(Array(classOf[MyClass1], classOf[MyClass2]))
val sc = new SparkContext(conf)
{% endhighlight %}