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-17056][Core] Fix a wrong assert regarding unroll memory in MemoryStore #14642

Closed
wants to merge 1 commit into from

Conversation

viirya
Copy link
Member

@viirya viirya commented Aug 15, 2016

What changes were proposed in this pull request?

There is an assert in MemoryStore's putIteratorAsValues method which is used to check if unroll memory is not released too much. This assert looks wrong.

How was this patch tested?

Jenkins tests.

@viirya
Copy link
Member Author

viirya commented Aug 15, 2016

cc @cloud-fan @JoshRosen

@SparkQA
Copy link

SparkQA commented Aug 15, 2016

Test build #63773 has finished for PR 14642 at commit cf4387a.

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

@viirya
Copy link
Member Author

viirya commented Aug 15, 2016

Actually I think it might be able to remove this assert...

@viirya
Copy link
Member Author

viirya commented Aug 22, 2016

ping @cloud-fan @JoshRosen since you have modified this file, do you think this change making sense?
Thank you.

@JoshRosen
Copy link
Contributor

This looks correct to me. Let me retest and then I'll merge.

@JoshRosen
Copy link
Contributor

Jenkins, retest this please.

@SparkQA
Copy link

SparkQA commented Sep 27, 2016

Test build #65999 has finished for PR 14642 at commit cf4387a.

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

asfgit pushed a commit that referenced this pull request Sep 27, 2016
…oryStore

## What changes were proposed in this pull request?

There is an assert in MemoryStore's putIteratorAsValues method which is used to check if unroll memory is not released too much. This assert looks wrong.

## How was this patch tested?

Jenkins tests.

Author: Liang-Chi Hsieh <[email protected]>

Closes #14642 from viirya/fix-unroll-memory.

(cherry picked from commit e7bce9e)
Signed-off-by: Josh Rosen <[email protected]>
@asfgit asfgit closed this in e7bce9e Sep 27, 2016
@viirya
Copy link
Member Author

viirya commented Sep 28, 2016

@JoshRosen Thanks!

@viirya viirya deleted the fix-unroll-memory branch December 27, 2023 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants