Skip to content

Commit 1014668

Browse files
andrewor14rxin
authored andcommitted
[Docs] Correct example of creating a new SparkConf
The example code on the configuration page currently does not compile. Author: Andrew Or <[email protected]> Closes mesos#842 from andrewor14/conf-docs and squashes the following commits: aabff57 [Andrew Or] Correct example of creating a new SparkConf
1 parent 6e33738 commit 1014668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cluster (e.g. master URL and application name), as well as arbitrary key-value p
2323
`set()` method. For example, we could initialize an application as follows:
2424

2525
{% highlight scala %}
26-
val conf = new SparkConf
26+
val conf = new SparkConf()
2727
.setMaster("local")
2828
.setAppName("CountingSheep")
2929
.set("spark.executor.memory", "1g")

0 commit comments

Comments
 (0)