Github user andrewor14 commented on a diff in the pull request:
https://github.com/apache/spark/pull/1218#discussion_r16207009
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/SchedulerBackend.scala ---
@@ -31,4 +31,8 @@ private[spark] trait SchedulerBackend {
def killTask(taskId: Long, executorId: String, interruptThread:
Boolean): Unit =
throw new UnsupportedOperationException
def isReady(): Boolean = true
+
+ /** Get the application ID associated with the job, if any. */
+ def applicationId(): Option[String]
--- End diff --
Maybe also update the comment to explain when this is not defined (i.e. if
the task scheduler didn't provide with us an ID)
---
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]