imback82 commented on a change in pull request #24857: [MINOR][CORE] Remove
unused variables, unused imports, etc.
URL: https://github.com/apache/spark/pull/24857#discussion_r293466671
##########
File path: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala
##########
@@ -131,13 +129,6 @@ private[ui] class StagePage(parent: StagesTab, store:
AppStatusStore) extends We
return UIUtils.headerSparkPage(request, stageHeader, content, parent)
}
- val storedTasks = store.taskCount(stageData.stageId, stageData.attemptId)
- val numCompleted = stageData.numCompleteTasks
- val totalTasksNumStr = if (totalTasks == storedTasks) {
- s"$totalTasks"
- } else {
- s"$totalTasks, showing $storedTasks"
- }
Review comment:
The usage of `totalTasksNumStr` is removed by [this
commit](https://github.com/apache/spark/commit/76ef02e499db49c0c6a37fa9dff3d731aeac9898#diff-fa4cfb2cce1b925f55f41f2dfa8c8501).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]