-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-23394][UI] In RDD storage page show the executor addresses instead of the IDs #20589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| rddPartition.memoryUsed, | ||
| rddPartition.diskUsed, | ||
| rddPartition.executors.mkString(" ")) | ||
| rddPartition.executors.map(id => executorIdToAddress.get(id).getOrElse(id)).mkString(" ")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.map { id => ... }
Also in other places.
| sortColumn, | ||
| desc) | ||
| desc, | ||
| executorSummaries.map(ex => (ex.id, ex.hostPort)).toMap) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a good idea to keep the map sorted by the executor id, somehow.
|
ok to test |
|
Test build #87344 has finished for PR 20589 at commit
|
|
Test build #87343 has finished for PR 20589 at commit
|
|
retest this please |
|
Test build #87360 has finished for PR 20589 at commit
|
|
Test build #87386 has finished for PR 20589 at commit
|
|
Test build #87387 has finished for PR 20589 at commit
|
| blockSortColumn, | ||
| blockSortDesc) | ||
| blockSortDesc, | ||
| store.executorList(false)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this only list active executors?
Theoretically you shouldn't have any blocks stored on dead executors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we have a fallback to executorId we can do that.
|
Test build #87395 has finished for PR 20589 at commit
|
|
retest this please |
1 similar comment
|
retest this please |
|
Test build #87413 has finished for PR 20589 at commit
|
|
Test build #87420 has finished for PR 20589 at commit
|
|
jenkins retest this please |
|
Test build #87430 has finished for PR 20589 at commit
|
|
jenkins retest this please |
| rddPartition.executors.mkString(" ")) | ||
| rddPartition.executors | ||
| .sorted | ||
| .map { id => executorIdToAddress.get(id).getOrElse(id) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we sort by address?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, done
|
LGTM |
|
Test build #87441 has finished for PR 20589 at commit
|
|
Merging to master / 2.3. |
|
Test build #87447 has finished for PR 20589 at commit
|
…tead of the IDs ## What changes were proposed in this pull request? Extending RDD storage page to show executor addresses in the block table. ## How was this patch tested? Manually:  Author: “attilapiros” <[email protected]> Closes #20589 from attilapiros/SPARK-23394. (cherry picked from commit 140f875) Signed-off-by: Marcelo Vanzin <[email protected]>
What changes were proposed in this pull request?
Extending RDD storage page to show executor addresses in the block table.
How was this patch tested?
Manually: