Github user sujith71955 commented on a diff in the pull request:
https://github.com/apache/spark/pull/22120#discussion_r210599272
--- Diff:
resource-managers/yarn/src/main/scala/org/apache/spark/scheduler/cluster/YarnClientSchedulerBackend.scala
---
@@ -62,6 +62,10 @@ private[spark] class YarnClientSchedulerBackend(
super.start()
waitForApplication()
+ // set the attemptId as its available now
+ this.attemptId = Option(client.getApplicationReport(this.appId.get)
+ .getCurrentApplicationAttemptId())
+
--- End diff --
Extra space
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]