Repository: spark
Updated Branches:
  refs/heads/master 456451911 -> c25c669d9


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


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c25c669d
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c25c669d
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c25c669d

Branch: refs/heads/master
Commit: c25c669d95293ce7f72f2758d6737fabd0d4390a
Parents: 4564519
Author: Eran Medan <[email protected]>
Authored: Fri Dec 19 18:29:36 2014 -0800
Committer: Andrew Or <[email protected]>
Committed: Fri Dec 19 18:30:09 2014 -0800

----------------------------------------------------------------------
 docs/tuning.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/c25c669d/docs/tuning.md
----------------------------------------------------------------------
diff --git a/docs/tuning.md b/docs/tuning.md
index e2fdcfe..efaac9d 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 %}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to