Repository: spark
Updated Branches:
  refs/heads/branch-1.2 f930fe893 -> 4da103984


change signature of example to match released code

the signature of registerKryoClasses is actually of Array[Class[_]]  not Seq

Author: Eran Medan <ehrann.meh...@gmail.com>

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/4da10398
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4da10398
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4da10398

Branch: refs/heads/branch-1.2
Commit: 4da1039840182e8e8bc836b89cda7b77fe7356d9
Parents: f930fe8
Author: Eran Medan <ehrann.meh...@gmail.com>
Authored: Fri Dec 19 18:29:36 2014 -0800
Committer: Andrew Or <and...@databricks.com>
Committed: Fri Dec 19 18:29:36 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/spark/blob/4da10398/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: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to