-
- Downloads
[SPARK-5701] Only set ShuffleReadMetrics when task has shuffle deps
The updateShuffleReadMetrics method in TaskMetrics (called by the executor heartbeater) will currently always add a ShuffleReadMetrics to TaskMetrics (with values set to 0), even when the task didn't read any shuffle data. ShuffleReadMetrics should only be added if the task reads shuffle data. Author: Kay Ousterhout <kayousterhout@gmail.com> Closes #4488 from kayousterhout/SPARK-5701 and squashes the following commits: 673ed58 [Kay Ousterhout] SPARK-5701: Only set ShuffleReadMetrics when task has shuffle deps
Showing
- core/src/main/scala/org/apache/spark/executor/TaskMetrics.scala 12 additions, 10 deletions...rc/main/scala/org/apache/spark/executor/TaskMetrics.scala
- core/src/test/scala/org/apache/spark/executor/TaskMetricsSuite.scala 28 additions, 0 deletions...st/scala/org/apache/spark/executor/TaskMetricsSuite.scala
Loading
Please register or sign in to comment