-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-28647][WEBUI] Recover additional metric feature and remove additional-metrics.js #25374
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
|
Test build #108757 has finished for PR 25374 at commit
|
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.
Hi, @sarutak .
So, do you mean the feature is refactored correctly?
expand-additional-metricsis used[SPARK-17019][CORE] Expose on-heap and off-heap memory usage in various places(a449162).- According to the comment, #22595 (comment), and your comment, it's not working as of now.
I'm wondering if we keep the same feature which SPARK-17019 aimed originally. Could you give me some pointer? For GPU support, #25037 wants to this additional metric features. So, I want to be careful before removal.
cc @jerryshao , @tgravescs
|
Also, could you file a JIRA issue since this might cause some issues later? |
|
I agree with @dongjoon-hyun please file a jira for this. It does looks like its something I missed when we did the StagePage. I kind of think the new PR is probably easier for users to read with separate columns but your point is valid, it would be nice to know if there is anything else missing there. Also the last comments on the new PR are to separate out columns, not sure if this code would help with that at all, but I'm guessing we can reuse code from the Stage Page if you want to keep the look the same. |
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.
Looks OK to me.
|
OK, I've filed.
It seems
So, how about having check-boxes for toggle like implemented in Stage Page? |
3c7b9d4 to
a8b3328
Compare
|
LGTM |
|
Test build #108782 has finished for PR 25374 at commit
|
|
Test build #108783 has finished for PR 25374 at commit
|
|
@dongjoon-hyun If we need a mechanism for optional metrics for |
|
Test build #108895 has finished for PR 25374 at commit
|
|
@sarutak go ahead and update the title/description to reflect what this is adding now |
|
@srowen Thanks for reminding me. I've updated. |
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.
+1, LGTM. Great! Thank you, @sarutak . I checked the fixed UI.
Also, thank you, @srowen , @tgravescs , @hacker131 .
Merged to master.
|
Could you make a backporting PR please, @sarutak ? There is a conflict on |
|
@dongjoon-hyun O.K. I'll do it this week. |
|
Thank you so much, @sarutak ! |
This PR is for backporting SPARK-28647(#25374) to branch-2.4. The original PR removed `additional-metrics.js` but branch-2.4 still uses it so I don't remove it and related things for branch-2.4. ### What changes were proposed in this pull request? Added checkboxes to enable users to select which optional metrics (`On Heap Memory`, `Off Heap Memory` and `Select All` in this case) to be shown in `ExecuorPage`. ### Why are the changes needed? By SPARK-17019, `On Heap Memory` and `Off Heap Memory` are introduced as optional metrics. But they are not displayed because they are made `display: none` in css and there are no way to appear them. ### Does this PR introduce any user-facing change? The previous `ExecutorPage` doesn't show optional metrics. This change adds checkboxes to `ExecutorPage` for optional metrics. We can choose which metrics should be shown by checking corresponding checkboxes.  ### How was this patch tested? Manual test. Closes #25484 from sarutak/backport-SPARK-28647-branch-2.4. Authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This PR is for backporting SPARK-28647(apache#25374) to branch-2.4. The original PR removed `additional-metrics.js` but branch-2.4 still uses it so I don't remove it and related things for branch-2.4. ### What changes were proposed in this pull request? Added checkboxes to enable users to select which optional metrics (`On Heap Memory`, `Off Heap Memory` and `Select All` in this case) to be shown in `ExecuorPage`. ### Why are the changes needed? By SPARK-17019, `On Heap Memory` and `Off Heap Memory` are introduced as optional metrics. But they are not displayed because they are made `display: none` in css and there are no way to appear them. ### Does this PR introduce any user-facing change? The previous `ExecutorPage` doesn't show optional metrics. This change adds checkboxes to `ExecutorPage` for optional metrics. We can choose which metrics should be shown by checking corresponding checkboxes.  ### How was this patch tested? Manual test. Closes apache#25484 from sarutak/backport-SPARK-28647-branch-2.4. Authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
This PR is for backporting SPARK-28647(apache#25374) to branch-2.4. The original PR removed `additional-metrics.js` but branch-2.4 still uses it so I don't remove it and related things for branch-2.4. ### What changes were proposed in this pull request? Added checkboxes to enable users to select which optional metrics (`On Heap Memory`, `Off Heap Memory` and `Select All` in this case) to be shown in `ExecuorPage`. ### Why are the changes needed? By SPARK-17019, `On Heap Memory` and `Off Heap Memory` are introduced as optional metrics. But they are not displayed because they are made `display: none` in css and there are no way to appear them. ### Does this PR introduce any user-facing change? The previous `ExecutorPage` doesn't show optional metrics. This change adds checkboxes to `ExecutorPage` for optional metrics. We can choose which metrics should be shown by checking corresponding checkboxes.  ### How was this patch tested? Manual test. Closes apache#25484 from sarutak/backport-SPARK-28647-branch-2.4. Authored-by: Kousuke Saruta <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
### What changes were proposed in this pull request? On clicking job description in jobs page, the description was not shown fully. Add the function for the click event on description. ### Why are the changes needed? when there is a long description of a job, it cannot be seen fully in the UI. The feature was added in #24145 But it is missed after #25374 Before change:  After change: on Double click over decription  ### Does this PR introduce any user-facing change? No ### How was this patch tested? Manually test Closes #26222 from PavithraRamachandran/jobs_description_tooltip. Authored-by: Pavithra Ramachandran <[email protected]> Signed-off-by: Gengliang Wang <[email protected]>
On clicking job description in jobs page, the description was not shown fully. Add the function for the click event on description. when there is a long description of a job, it cannot be seen fully in the UI. The feature was added in apache#24145 But it is missed after apache#25374 Before change:  After change: on Double click over decription  No Manually test Closes apache#26222 from PavithraRamachandran/jobs_description_tooltip. Authored-by: Pavithra Ramachandran <[email protected]> Signed-off-by: Gengliang Wang <[email protected]>

What changes were proposed in this pull request?
By SPARK-17019,
On Heap MemoryandOff Heap Memoryare introduced as optional metrics.But they are not displayed because they are made
display: nonein css and there are no way to appear them.I know #22595 also try to resolve this issue but that will use
additional-metrics.js.Initially,
additional-metrics.jsis created forStagePagebutStagePagecurrently usesstagepage.jsfor its additional metrics to be toggle becauseDataTable (one of jQuery plugins)was introduced and we needed another mechanism to add/remove columns for additional metrics.Now that
ExecutorsPagealso usesDataTableso it might be better to introduce same mechanism asStagePagefor additional metrics.And then, we can remove
additional-metrics.jswhich is no longer used from anywhere.How was this patch tested?
After this change is applied, I confirmed
ExecutorsPageandStagePageare properly rendered and all checkboxes for additional metrics work.