[ https://issues.apache.org/jira/browse/SPARK-5861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324446#comment-14324446 ]
Marcelo Vanzin commented on SPARK-5861: --------------------------------------- bq. In ClientArguments.scala, cluster mode is detected by the presence of -class, but it's perfectly possible set -class with yarn-client mode. It may be possible, but I think the code doesn't do it. Since {{Client}} as a public API is deprecated, that's probably a minor issue. > [yarn-client mode] Application master should not use memory = > spark.driver.memory > --------------------------------------------------------------------------------- > > Key: SPARK-5861 > URL: https://issues.apache.org/jira/browse/SPARK-5861 > Project: Spark > Issue Type: Bug > Components: YARN > Affects Versions: 1.2.1 > Reporter: Shekhar Bansal > > I am using > {code}spark.driver.memory=6g{code} > which creates application master of 7g > (yarn.scheduler.minimum-allocation-mb=1024) > Application manager don't need 7g in yarn-client mode. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org