Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/18162#discussion_r123273222
--- Diff:
core/src/main/scala/org/apache/spark/ui/jobs/JobProgressListener.scala ---
@@ -528,7 +528,13 @@ class JobProgressListener(conf: SparkConf) extends
SparkListener with Logging {
new StageUIData
})
val taskData = stageData.taskData.get(taskId)
- val metrics = TaskMetrics.fromAccumulatorInfos(accumUpdates)
+ val accumsFiltered = if
(conf.get(TASK_METRICS_TRACK_UPDATED_BLOCK_STATUSES)) {
+ accumUpdates
+ } else {
+ accumUpdates.filter(info => info.name.isDefined &&
info.update.isDefined && info.name !=
--- End diff --
How about I just revert this. I'm not sure its worth an assert here. the
updated block statuses are just going to be empty so setting it to empty isn't
going to hurt anything.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]