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

    https://github.com/apache/spark/pull/4665#discussion_r25009940
  
    --- Diff: docs/configuration.md ---
    @@ -115,6 +115,8 @@ of the most common options to set are:
       <td>
         Amount of memory to use for the driver process, i.e. where 
SparkContext is initialized.
         (e.g. <code>512m</code>, <code>2g</code>).
    +    
    +    <br /><br />Note: this setting only works in <code>cluster</code> mode 
(e.g. YARN deployment). In <code>client</code> mode (e.g. spark-shell), this 
setting has no effect. In client mode, driver memory should be configured in 
the run-time settings ; i.e. --driver-memory 2g.
    --- End diff --
    
    By the way this explanation isn't exactly true. It only doesn't work if you 
set them through the `conf.set(...)` way. It still works if you put them in 
your `conf/spark-defaults.conf` file.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to