Skip to content
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

[SPARK-23432][UI] Add executor peak jvm memory metrics in executors page #30186

Closed
wants to merge 3 commits into from

Conversation

warrenzhu25
Copy link
Contributor

@warrenzhu25 warrenzhu25 commented Oct 29, 2020

What changes were proposed in this pull request?

Add executor peak jvm memory metrics in executors page

image

Why are the changes needed?

Users can know executor peak jvm metrics on in executors page

Does this PR introduce any user-facing change?

Users can know executor peak jvm metrics on in executors page

How was this patch tested?

Manually tested

@tgravescs
Copy link
Contributor

can you provide screen shots?

@warrenzhu25 warrenzhu25 changed the title [SPARK-23432][UI]Add executor peak jvm memory metrics in executors page [SPARK-23432][UI] Add executor peak jvm memory metrics in executors page Oct 30, 2020
@dongjoon-hyun
Copy link
Member

ok to test

@dongjoon-hyun
Copy link
Member

cc @sarutak and @gengliangwang

<th>JVM Memory OnHeap / OffHeap</th>
<th>Execution Memory OnHeap / OffHeap</th>
<th>Storage Memory OnHeap / OffHeap</th>
<th>Pool Memory Direct / Mapped</th>
Copy link
Contributor

Choose a reason for hiding this comment

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

add tooltips describing what these are

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added.

@@ -86,6 +86,10 @@ <h4 class="title-table">Executors</h4>
<span data-toggle="tooltip" data-placement="top"
title="Memory used / total available memory for off heap storage of data like RDD partitions cached in memory.">
Off Heap Storage Memory</span></th>
<th>JVM Memory OnHeap / OffHeap</th>
<th>Execution Memory OnHeap / OffHeap</th>
<th>Storage Memory OnHeap / OffHeap</th>
Copy link
Contributor

Choose a reason for hiding this comment

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

this is very close to the above On/Off Heap Storage Memory - so I think we need to differentiate the titles more. I think that goes for all of these, if they are Peak we should call them Peak.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added Peak for all.

@SparkQA
Copy link

SparkQA commented Oct 30, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35068/

@SparkQA
Copy link

SparkQA commented Oct 30, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35068/

@SparkQA
Copy link

SparkQA commented Oct 30, 2020

Test build #130466 has finished for PR 30186 at commit f2c556f.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Oct 31, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35083/

@SparkQA
Copy link

SparkQA commented Oct 31, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35083/

@SparkQA
Copy link

SparkQA commented Oct 31, 2020

Test build #130479 has finished for PR 30186 at commit 92d1112.

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

Peak Execution Memory OnHeap / OffHeap</span></th>
<th>
<span data-toggle="tooltip" data-placement="top"
title="Peak storage onHeap / OffHeap memory used by JVM.">
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should expand this to be "Peak onHeap/ OffHeap memory used for storage of data like RDD partitions cached in memory"

Peak JVM Memory OnHeap / OffHeap</span></th>
<th>
<span data-toggle="tooltip" data-placement="top"
title="Peak execution onHeap / OffHeap memory used by JVM.">
Copy link
Contributor

Choose a reason for hiding this comment

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

Peak OnHeap/OffHeap memory used for execution. This refers to memory used for computation in shuffles, joins, user data structures, etc. See the Memory Management Overview documentation for more details.

Peak Storage Memory OnHeap / OffHeap</span></th>
<th>
<span data-toggle="tooltip" data-placement="top"
title="Peak direct / mapped pool memory used by JVM.">
Copy link
Contributor

Choose a reason for hiding this comment

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

Similarly I think we should explain more or point to java docs.
At least say this is direct byte buffers and mapped are memory-mapped or perhaps better would be to point to java.nio:type=BufferPool,name=direct and java.nio:type=BufferPool,name=mapped

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Updated.

@SparkQA
Copy link

SparkQA commented Nov 3, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35138/

@SparkQA
Copy link

SparkQA commented Nov 3, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35138/

@SparkQA
Copy link

SparkQA commented Nov 3, 2020

Test build #130538 has finished for PR 30186 at commit fc8fe85.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 3, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35147/

@SparkQA
Copy link

SparkQA commented Nov 3, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35147/

@SparkQA
Copy link

SparkQA commented Nov 3, 2020

Test build #130548 has finished for PR 30186 at commit 28cfbdf.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Nov 4, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35181/

@SparkQA
Copy link

SparkQA commented Nov 4, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35181/

@SparkQA
Copy link

SparkQA commented Nov 4, 2020

Test build #130580 has finished for PR 30186 at commit 30da8f1.

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

Copy link
Contributor

@tgravescs tgravescs left a comment

Choose a reason for hiding this comment

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

looks good pending Jenkins

@HeartSaVioR
Copy link
Contributor

retest this, please

@SparkQA
Copy link

SparkQA commented Nov 6, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35293/

@SparkQA
Copy link

SparkQA commented Nov 6, 2020

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35293/

@SparkQA
Copy link

SparkQA commented Nov 6, 2020

Test build #130682 has finished for PR 30186 at commit 30da8f1.

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

Copy link
Contributor

@HeartSaVioR HeartSaVioR left a comment

Choose a reason for hiding this comment

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

+1

@HeartSaVioR
Copy link
Contributor

Thanks! Merged into master.
@warrenzhu25 Could you please let me know your JIRA ID? I'm not 100% sure so I left the assignee as unassigned. Once I get the information I'll update it.

@HeartSaVioR
Copy link
Contributor

Never mind. I tried your Github account and found it. Please let me know if I misassigned.

@warrenzhu25
Copy link
Contributor Author

@HeartSaVioR thanks, it's correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants