Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/22526#discussion_r219869516
--- Diff: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala ---
@@ -685,7 +685,10 @@ private[ui] class TaskDataSource(
private var _tasksToShow: Seq[TaskData] = null
- override def dataSize: Int = taskCount(stage)
+ override def dataSize: Int = {
+ val storedTasks = store.taskCount(stage.stageId, stage.attemptId).toInt
--- End diff --
You don't need the intermediate variable here.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]