diff options
author | Andrew Or <andrewor14@gmail.com> | 2014-05-21 01:23:34 -0700 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2014-05-21 01:23:34 -0700 |
commit | 1014668f2727863fe46f9c75201ee459d093bf0c (patch) | |
tree | a6c5434a550748e76d1a87dcd46a37ea24eb1fa7 | |
parent | 6e337380fc47071fc7fb28d744e8209c729fe1e9 (diff) | |
download | spark-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
-rw-r--r-- | docs/configuration.md | 2 |
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") |