GitHub user WangTaoTheTonic opened a pull request:
https://github.com/apache/spark/pull/3607
[SPARK-1953]yarn client mode Application Master memory size is same as
driver memory...
... size
Ways to set Application Master's memory on yarn-client mode:
Item 1 `--am-memory MEM` in SparkSubmit args
Item 2 `spark.yarn.appMaster.memory` in SparkConf or System Properties
Item 3 `SPARK_YARN_AM_MEMORY` in System env
Item 4 default value 512m
Note: this arguments is only available in yarn-client mode and will be
assigned with driver memory in yarn-cluster mode.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WangTaoTheTonic/spark SPARK4181
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3607.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 #3607
----
commit 0566bb89318a848ee6d2f551430d9fd135a22c7d
Author: WangTaoTheTonic <[email protected]>
Date: 2014-12-04T13:42:47Z
yarn client mode Application Master memory size is same as driver memory
size
----
---
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]