-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-13958]Executor OOM due to unbounded growth of pointer array in… #11794
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
Conversation
CC @davies |
array = allocateArray(used / 8 * 2); | ||
} catch (OutOfMemoryError e) { | ||
// should have trigger spilling | ||
assert(inMemSorter.hasSpaceForAnotherRecord()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you change this to require
and add a error message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. I tried changing it to require but compiler does not seem to like it. May be because its a java file and can't import scala methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, then use a if
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Jenkins, ok to test. |
LGTM |
Test build #53543 has finished for PR 11794 at commit
|
Merging this into master and 1.6, thanks! |
## What changes were proposed in this pull request? This change fixes the executor OOM which was recently introduced in PR #11095 (Please fill in changes proposed in this fix) ## How was this patch tested? Tested by running a spark job on the cluster. (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) … Sorter Author: Sital Kedia <skedia@fb.com> Closes #11794 from sitalkedia/SPARK-13958. (cherry picked from commit 2e0c528) Signed-off-by: Davies Liu <davies.liu@gmail.com>
Test build #53550 has finished for PR 11794 at commit
|
## What changes were proposed in this pull request? This change fixes the executor OOM which was recently introduced in PR apache#11095 (Please fill in changes proposed in this fix) ## How was this patch tested? Tested by running a spark job on the cluster. (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) … Sorter Author: Sital Kedia <skedia@fb.com> Closes apache#11794 from sitalkedia/SPARK-13958.
What changes were proposed in this pull request?
This change fixes the executor OOM which was recently introduced in PR #11095
(Please fill in changes proposed in this fix)
How was this patch tested?
Tested by running a spark job on the cluster.
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
… Sorter