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-22721] BytesToBytesMap peak memory usage not accurate after reset() #19915

Closed
wants to merge 1 commit into from

Conversation

juliuszsompolski
Copy link
Contributor

What changes were proposed in this pull request?

BytesToBytesMap doesn't update peak memory usage before shrinking back to initial capacity in reset(), so after a disk spill one never knows what was the size of hash table was before spilling.

How was this patch tested?

Checked manually.

@juliuszsompolski
Copy link
Contributor Author

cc @cloud-fan

@hvanhovell
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Dec 6, 2017

Test build #84572 has finished for PR 19915 at commit eeb0f31.

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

@hvanhovell
Copy link
Contributor

Merging to master. Thanks!

@asfgit asfgit closed this in d32337b Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants