spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject git commit: [Docs] Correct example of creating a new SparkConf
Date Wed, 21 May 2014 08:24:56 GMT
Repository: spark
Updated Branches:
  refs/heads/branch-1.0 364c14af9 -> 7295dd94b


[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>


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

Branch: refs/heads/branch-1.0
Commit: 7295dd94b53487fce984da7f44d41ec3468bae88
Parents: 364c14a
Author: Andrew Or <andrewor14@gmail.com>
Authored: Wed May 21 01:23:34 2014 -0700
Committer: Reynold Xin <rxin@apache.org>
Committed: Wed May 21 01:24:51 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/7295dd94/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")


Mime
View raw message