GitHub user pwendell opened a pull request: https://github.com/apache/spark/pull/730
SPARK-1652: Set driver memory correctly in spark-submit. The previous check didn't account for the fact that the default deploy mode is "client" unless otherwise specified. Also, this sets the more narrowly defined SPARK_DRIVER_MEM instead of setting SPARK_MEM. You can merge this pull request into a Git repository by running: $ git pull https://github.com/pwendell/spark spark-submit Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/730.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #730 ---- commit f5081465658ee9035a498ac1fb8a532b89e895cc Author: Patrick Wendell <pwend...@gmail.com> Date: 2014-05-11T06:06:12Z SPARK-1652: Set driver memory correctly in spark-submit. The previous check didn't account for the fact that the default deploy mode is "client" unless otherwise specified. Also, this sets the more narrowly defined SPARK_DRIVER_MEM instead of setting SPARK_MEM. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---