Github user andrewor14 commented on the pull request:
https://github.com/apache/spark/pull/3607#issuecomment-67544093
Hey @WangTaoTheTonic @tgravescs I just thought of the following:
In client mode, the AM memory should never even depend on driver memory at
all. Currently, however, we still pass `--driver-memory` to `ClientArguments`,
which uses this value for the AM memory if `spark.yarn.am.memory` is not set. I
think we should do this only for cluster mode (i.e. add a check before we set
it).
---
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]