aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorAndrew Or <andrewor14@gmail.com>2014-05-21 01:23:34 -0700
committerReynold Xin <rxin@apache.org>2014-05-21 01:23:34 -0700
commit1014668f2727863fe46f9c75201ee459d093bf0c (patch)
treea6c5434a550748e76d1a87dcd46a37ea24eb1fa7 /docs/configuration.md
parent6e337380fc47071fc7fb28d744e8209c729fe1e9 (diff)
downloadspark-1014668f2727863fe46f9c75201ee459d093bf0c.tar.gz
spark-1014668f2727863fe46f9c75201ee459d093bf0c.tar.bz2
spark-1014668f2727863fe46f9c75201ee459d093bf0c.zip
[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
Diffstat (limited to 'docs/configuration.md')
-rw-r--r--docs/configuration.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/configuration.md b/docs/configuration.md
index f89040d714..462a9d9013 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -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")