Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/653#discussion_r12311477
  
    --- 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 --
    
    This is not for running in the REPL, where we don't really need to create 
`SparkConf`. With the latest `spark-submit`, this line should change to `new 
SparkConf().setAppName("My application")`.


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

Reply via email to