Github user XuTingjun commented on the pull request:
https://github.com/apache/spark/pull/3456#issuecomment-64977581
val tasks = stageData.taskData.values.toSeq.sortBy(_.taskInfo.launchTime)
val showTasks = tasks.slice(actualFirst, Math.min(actualFirst + pageSize,
tasks.size))
From the code above, we can see "tasks" will sort all tasks of the
application, and the "showTasks" is the sub-range of "tasks". So the
"showTasks" has sorted all tasks not sub-range.
As JoshRosen says, the large NodeSql takes most memory, so we just need to
reduce the node number of html. With pagination, we can reduce the node to a
low number. So I still think pagination is a reasonable solution.
---
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]