Skip to content

Commit 1245eb7

Browse files
committed
remove the temporary fix
1 parent ebd2f43 commit 1245eb7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@ class JobProgressListener(conf: SparkConf) extends SparkListener with Logging {
242242
t.taskMetrics)
243243

244244
// Overwrite task metrics
245-
// FIXME: deepcopy the metrics, or they will be the same object in local mode
246-
t.taskMetrics = Some(scala.util.Marshal.load[TaskMetrics](scala.util.Marshal.dump(taskMetrics)))
245+
t.taskMetrics = Some(taskMetrics)
247246
}
248247
}
249248
}

0 commit comments

Comments
 (0)