You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by rx...@apache.org on 2014/05/21 10:24:35 UTC

git commit: [Docs] Correct example of creating a new SparkConf

Repository: spark
Updated Branches:
  refs/heads/master 6e337380f -> 1014668f2


[Docs] Correct example of creating a new SparkConf

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

Author: Andrew Or <an...@gmail.com>

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

aabff57 [Andrew Or] Correct example of creating a new SparkConf


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/1014668f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/1014668f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/1014668f

Branch: refs/heads/master
Commit: 1014668f2727863fe46f9c75201ee459d093bf0c
Parents: 6e33738
Author: Andrew Or <an...@gmail.com>
Authored: Wed May 21 01:23:34 2014 -0700
Committer: Reynold Xin <rx...@apache.org>
Committed: Wed May 21 01:23:34 2014 -0700

----------------------------------------------------------------------
 docs/configuration.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/1014668f/docs/configuration.md
----------------------------------------------------------------------
diff --git a/docs/configuration.md b/docs/configuration.md
index f89040d..462a9d9 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")