Skip to content

Commit

Permalink
[DOC] .set is a method of SparkConf not SparkContext
Browse files Browse the repository at this point in the history
  • Loading branch information
costin committed Sep 28, 2014
1 parent 9bf00f1 commit e5ec473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/reference/asciidoc/core/spark.adoc
Expand Up @@ -342,7 +342,7 @@ Or if you prefer Scala

[source,scala]
----
val sc = new SparkContext(...)
val sc = new SparkConf(...)
sc.set("spark.serializer", classOf[KryoSerializer].getName) <1>
----

Expand Down

0 comments on commit e5ec473

Please sign in to comment.