Github user jiangxb1987 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21809#discussion_r203936074
--- Diff: core/src/main/scala/org/apache/spark/status/AppStatusStore.scala
---
@@ -94,6 +94,13 @@ private[spark] class AppStatusStore(
}.toSeq
}
+ def getJobIdsAssociatedWithStage(stageId: Int): Seq[Set[Int]] = {
--- End diff --
We don't need to fetch all the stage attempts, just the first of it is
enough to get all the jobIds.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]