[jira] [Commented] (SPARK-25131) Event logs missing applicationAttemptId for SparkListenerApplicationStart
[ https://issues.apache.org/jira/browse/SPARK-25131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16587062#comment-16587062 ] Saisai Shao commented on SPARK-25131: - This is by design, not a bug. > Event logs missing applicationAttemptId for SparkListenerApplicationStart > - > > Key: SPARK-25131 > URL: https://issues.apache.org/jira/browse/SPARK-25131 > Project: Spark > Issue Type: Bug > Components: YARN >Affects Versions: 2.3.1 >Reporter: Ajith S >Priority: Minor > > When *master=yarn* and *deploy-mode=client*, event logs do not contain > applicationAttemptId for SparkListenerApplicationStart. This is caused at > org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend#start where we > do bindToYarn(client.submitApplication(), None) which sets appAttemptId to > None. We can however, get the appAttemptId after waitForApplication() and set > it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-25131) Event logs missing applicationAttemptId for SparkListenerApplicationStart
[ https://issues.apache.org/jira/browse/SPARK-25131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582481#comment-16582481 ] Apache Spark commented on SPARK-25131: -- User 'ajithme' has created a pull request for this issue: https://github.com/apache/spark/pull/22120 > Event logs missing applicationAttemptId for SparkListenerApplicationStart > - > > Key: SPARK-25131 > URL: https://issues.apache.org/jira/browse/SPARK-25131 > Project: Spark > Issue Type: Bug > Components: YARN >Affects Versions: 2.3.1 >Reporter: Ajith S >Priority: Major > > When *master=yarn* and *deploy-mode=client*, event logs do not contain > applicationAttemptId for SparkListenerApplicationStart. This is caused at > org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend#start where we > do bindToYarn(client.submitApplication(), None) which sets appAttemptId to > None. We can however, get the appAttemptId after waitForApplication() and set > it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-25131) Event logs missing applicationAttemptId for SparkListenerApplicationStart
[ https://issues.apache.org/jira/browse/SPARK-25131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582480#comment-16582480 ] Ajith S commented on SPARK-25131: - A draft fix https://github.com/apache/spark/pull/22120 > Event logs missing applicationAttemptId for SparkListenerApplicationStart > - > > Key: SPARK-25131 > URL: https://issues.apache.org/jira/browse/SPARK-25131 > Project: Spark > Issue Type: Bug > Components: YARN >Affects Versions: 2.3.1 >Reporter: Ajith S >Priority: Major > > When *master=yarn* and *deploy-mode=client*, event logs do not contain > applicationAttemptId for SparkListenerApplicationStart. This is caused at > org.apache.spark.scheduler.cluster.YarnClientSchedulerBackend#start where we > do bindToYarn(client.submitApplication(), None) which sets appAttemptId to > None. We can however, get the appAttemptId after waitForApplication() and set > it -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org