Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented Aug 17, 2019

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.
Screenshot from 2019-08-18 03-56-09

How was this patch tested?

Manual test.

@sarutak
Copy link
Member Author

sarutak commented Aug 17, 2019

CC: @dongjoon-hyun

@SparkQA
Copy link

SparkQA commented Aug 17, 2019

Test build #109281 has finished for PR 25484 at commit b7d381d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-28647][WEBUI] Recover additional metric feature for branch-2.4 [SPARK-28647][WEBUI][2.4] Recover additional metric feature Aug 18, 2019
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @sarutak !
Merged to branch-2.4.

dongjoon-hyun pushed a commit that referenced this pull request Aug 18, 2019
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.
![Screenshot from 2019-08-18 03-56-09](https://user-images.githubusercontent.com/4736016/63216148-2bfadb80-c16c-11e9-81e1-e1e66198dd6c.png)

### 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]>
rluta pushed a commit to rluta/spark that referenced this pull request Sep 17, 2019
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.
![Screenshot from 2019-08-18 03-56-09](https://user-images.githubusercontent.com/4736016/63216148-2bfadb80-c16c-11e9-81e1-e1e66198dd6c.png)

### 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]>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Sep 26, 2019
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.
![Screenshot from 2019-08-18 03-56-09](https://user-images.githubusercontent.com/4736016/63216148-2bfadb80-c16c-11e9-81e1-e1e66198dd6c.png)

### 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]>
@sarutak sarutak deleted the backport-SPARK-28647-branch-2.4 branch June 4, 2021 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants