Skip to content

Commit

Permalink
[Docs] Correct example of creating a new SparkConf
Browse files Browse the repository at this point in the history
The example code on the configuration page currently does not compile.

Author: Andrew Or <andrewor14@gmail.com>

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

aabff57 [Andrew Or] Correct example of creating a new SparkConf
  • Loading branch information
andrewor14 authored and rxin committed May 21, 2014
1 parent 6e33738 commit 1014668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1014668

Please sign in to comment.