Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/653#discussion_r12349414
--- Diff: docs/configuration.md ---
@@ -26,10 +26,10 @@ application name), as well as arbitrary key-value pairs
through the `set()` meth
initialize an application as follows:
{% highlight scala %}
-val conf = new SparkConf()
- .setMaster("local")
- .setAppName("My application")
- .set("spark.executor.memory", "1g")
+val conf = new SparkConf().
+ setMaster("local").
--- End diff --
If we remove `setMaster` and `set("spark.executor.memory" ...)`, then it
fits in a single line. Those properties should be set with `spark-submit`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---