Skip to content

Commit 9a9ba3c

Browse files
committed
More merge fixes
1 parent c5ace9e commit 9a9ba3c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ class DAGScheduler(
920920
val name = acc.name.get
921921
val stringPartialValue = "%s".format(partialValue)
922922
val stringValue = "%s".format(acc.value)
923-
stageToInfos(stage).accumulables(id) = AccumulableInfo(id, name, stringValue)
923+
stage.info.accumulables(id) = AccumulableInfo(id, name, stringValue)
924924
event.taskInfo.accumulables +=
925925
AccumulableInfo(id, name, Some(stringPartialValue), stringValue)
926926
}

core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
5252
val tasks = stageData.taskData.values.toSeq.sortBy(_.taskInfo.launchTime)
5353

5454
val numCompleted = tasks.count(_.taskInfo.finished)
55-
val accumulables = listener.stageIdToAccumulables(stageId)
55+
val accumulables = listener.stageIdToData(stageId).accumulables
5656
val hasInput = stageData.inputBytes > 0
5757
val hasShuffleRead = stageData.shuffleReadBytes > 0
5858
val hasShuffleWrite = stageData.shuffleWriteBytes > 0

core/src/main/scala/org/apache/spark/ui/jobs/UIData.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private[jobs] object UIData {
5151
var schedulingPool: String = ""
5252
var description: Option[String] = None
5353

54-
var accumulables = HashMap[Long, AccumulableInfo]
54+
var accumulables = new HashMap[Long, AccumulableInfo]
5555
var taskData = new HashMap[Long, TaskUIData]
5656
var executorSummary = new HashMap[String, ExecutorSummary]
5757
}

0 commit comments

Comments
 (0)