Skip to content
Snippets Groups Projects
Commit 1014668f authored by Andrew Or's avatar Andrew Or Committed by Reynold Xin
Browse files

[Docs] Correct example of creating a new SparkConf

The example code on the configuration page currently does not compile.

Author: Andrew Or <andrewor14@gmail.com>

Closes #842 from andrewor14/conf-docs and squashes the following commits:

aabff57 [Andrew Or] Correct example of creating a new SparkConf
parent 6e337380
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ cluster (e.g. master URL and application name), as well as arbitrary key-value p
`set()` method. For example, we could initialize an application as follows:
{% highlight scala %}
val conf = new SparkConf
val conf = new SparkConf()
.setMaster("local")
.setAppName("CountingSheep")
.set("spark.executor.memory", "1g")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment