Skip to content

Commit

Permalink
More merge fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pwendell committed Aug 4, 2014
1 parent c5ace9e commit 9a9ba3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ class DAGScheduler(
val name = acc.name.get
val stringPartialValue = "%s".format(partialValue)
val stringValue = "%s".format(acc.value)
stageToInfos(stage).accumulables(id) = AccumulableInfo(id, name, stringValue)
stage.info.accumulables(id) = AccumulableInfo(id, name, stringValue)
event.taskInfo.accumulables +=
AccumulableInfo(id, name, Some(stringPartialValue), stringValue)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
val tasks = stageData.taskData.values.toSeq.sortBy(_.taskInfo.launchTime)

val numCompleted = tasks.count(_.taskInfo.finished)
val accumulables = listener.stageIdToAccumulables(stageId)
val accumulables = listener.stageIdToData(stageId).accumulables
val hasInput = stageData.inputBytes > 0
val hasShuffleRead = stageData.shuffleReadBytes > 0
val hasShuffleWrite = stageData.shuffleWriteBytes > 0
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/scala/org/apache/spark/ui/jobs/UIData.scala
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private[jobs] object UIData {
var schedulingPool: String = ""
var description: Option[String] = None

var accumulables = HashMap[Long, AccumulableInfo]
var accumulables = new HashMap[Long, AccumulableInfo]
var taskData = new HashMap[Long, TaskUIData]
var executorSummary = new HashMap[String, ExecutorSummary]
}
Expand Down

0 comments on commit 9a9ba3c

Please sign in to comment.