gengliangwang commented on a change in pull request #23310:
[SPARK-26363][WebUI] Avoid duplicated KV store lookups for task table
URL: https://github.com/apache/spark/pull/23310#discussion_r243322702
##########
File path: core/src/main/resources/org/apache/spark/ui/static/stagepage.js
##########
@@ -348,9 +348,9 @@ $(document).ready(function () {
// prepare data for executor summary table
stageExecutorSummaryInfoKeys =
Object.keys(responseBody.executorSummary);
+ var executorDetailsMap = {};
$.getJSON(createRESTEndPointForExecutorsPage(appId),
function(executorSummaryResponse, status, jqXHR) {
- var executorDetailsMap = {};
executorSummaryResponse.forEach(function (executorDetail) {
executorDetailsMap[executorDetail.id] = executorDetail;
Review comment:
Oh sorry about that.
Then I think we should just use a hash map in the backend.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]