aboutsummaryrefslogtreecommitdiff
path: root/docs
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:24:51 -0700
commit7295dd94b53487fce984da7f44d41ec3468bae88 (patch)
tree1a5e03e494cb9b7dab8f0ecd44f8f74b0240a474 /docs
parent364c14af9a339ac36b0fc54d1559e260e1550ab0 (diff)
downloadspark-7295dd94b53487fce984da7f44d41ec3468bae88.tar.gz
spark-7295dd94b53487fce984da7f44d41ec3468bae88.tar.bz2
spark-7295dd94b53487fce984da7f44d41ec3468bae88.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 (cherry picked from commit 1014668f2727863fe46f9c75201ee459d093bf0c) Signed-off-by: Reynold Xin <rxin@apache.org>
Diffstat (limited to 'docs')
-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")