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-5768] [Web UI] Fix for incorrect memory in Spark UI #6972

Closed
wants to merge 6 commits into from

Conversation

rekhajoshm
Copy link
Contributor

Fix for incorrect memory in Spark UI as per SPARK-5768

Pulling functionality from apache spark
pull latest from apache spark
Pulling functionality from apache spark
@@ -35,6 +35,9 @@ private[spark] object ToolTips {

val OUTPUT = "Bytes and records written to Hadoop."

val STORAGE_MEMORY =
"Total memory used for caching of the total available memory for caching.This is the storage memory used on the executor."
Copy link
Member

Choose a reason for hiding this comment

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

I think, storage memory is used by not only cached-RDD right?

Copy link
Member

Choose a reason for hiding this comment

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

I suggest something like "Memory used / total available for storage of data like RDD partitions cached in memory"?

@andrewor14
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Jun 24, 2015

Test build #35710 has finished for PR 6972 at commit eb823b8.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@sarutak
Copy link
Member

sarutak commented Jun 25, 2015

@rekhajoshm , This test failure is due to style. L39 exceeds 100 characters. Could you fix it?
https://github.com/apache/spark/pull/6972/files#diff-5406df16dcd28da44c12be72ca26f62fR39

@rekhajoshm
Copy link
Contributor Author

Thanks @andrewor14 @sarutak @srowen for quick inputs and review comments.
Updated for review comments.thanks.

val STORAGE_MEMORY =
"""Memory used / total available memory for storage of data like RDD partitions cached in
memory. """

Copy link
Member

Choose a reason for hiding this comment

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

Why is this text is enclosed by triple-double-quote? It bring needless new line.
How about make the text like as follows?

"Memory used / total available memory for storage of data " +
  "like RDD partitions cached in memory. "

@sarutak
Copy link
Member

sarutak commented Jun 25, 2015

I left one minor comment, otherwise it LGTM.

@rekhajoshm
Copy link
Contributor Author

thanks @sarutak done as suggested.

@SparkQA
Copy link

SparkQA commented Jun 25, 2015

Test build #35750 has finished for PR 6972 at commit 2fe53d9.

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

@SparkQA
Copy link

SparkQA commented Jun 25, 2015

Test build #35753 has finished for PR 6972 at commit b678a91.

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

@srowen
Copy link
Member

srowen commented Jun 25, 2015

LGTM

@sarutak
Copy link
Member

sarutak commented Jun 25, 2015

Merging master and branch-1.4.
Thanks @rekhajoshm for your contribution!

asfgit pushed a commit that referenced this pull request Jun 25, 2015
Fix for incorrect memory in Spark UI as per SPARK-5768

Author: Joshi <rekhajoshm@gmail.com>
Author: Rekha Joshi <rekhajoshm@gmail.com>

Closes #6972 from rekhajoshm/SPARK-5768 and squashes the following commits:

b678a91 [Joshi] Fix for incorrect memory in Spark UI
2fe53d9 [Joshi] Fix for incorrect memory in Spark UI
eb823b8 [Joshi] SPARK-5768: Fix for incorrect memory in Spark UI
0be142d [Rekha Joshi] Merge pull request #3 from apache/master
106fd8e [Rekha Joshi] Merge pull request #2 from apache/master
e3677c9 [Rekha Joshi] Merge pull request #1 from apache/master

(cherry picked from commit 085a721)
Signed-off-by: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
@asfgit asfgit closed this in 085a721 Jun 25, 2015
@rekhajoshm
Copy link
Contributor Author

thanks @sarutak @srowen @sujkh85 for quick inputs and merge.

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