Github user andrewor14 commented on the pull request:

    https://github.com/apache/spark/pull/3607#issuecomment-67705762
  
    > I think it is not correct to say the client mode's AM memory will use 
--driver-memory if saprk.yarn.am.memory is not set. Actually it use the default 
value(512m).
    
    Wait what do you mean? Currently we read `--driver-memory` regardless of 
the deploy mode and set `amMemory` to this value. I am arguing that this is not 
correct for client mode. When `spark.yarn.am.memory` is set we are OK, but if 
it's not set AND if `--driver-memory` is set then your AM will still use the 
driver memory, which is not intended.


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