Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/21809#discussion_r207324015
--- Diff: core/src/main/scala/org/apache/spark/status/AppStatusStore.scala
---
@@ -112,10 +112,13 @@ private[spark] class AppStatusStore(
}
}
- def stageAttempt(stageId: Int, stageAttemptId: Int, details: Boolean =
false): v1.StageData = {
+ def stageAttempt(stageId: Int, stageAttemptId: Int,
+ details: Boolean = false): (v1.StageData, Seq[Int]) = {
val stageKey = Array(stageId, stageAttemptId)
- val stage = store.read(classOf[StageDataWrapper], stageKey).info
- if (details) stageWithDetails(stage) else stage
+ val stageDataWrapper: StageDataWrapper =
store.read(classOf[StageDataWrapper], stageKey)
--- End diff --
you don't really need the type here (: StageDataWrapper)
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]