-
Notifications
You must be signed in to change notification settings - Fork 163
[#2517] fix(client): IllegalReferenceCountException about ShuffleBlockInfo #2638
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
| List<ShuffleBlock> shuffleBlocks = Lists.newArrayList(); | ||
| int partitionRequireSize = 0; | ||
| for (ShuffleBlockInfo sbi : ptb.getValue()) { | ||
| if (sbi.getData().refCnt() == 0) { |
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.
This may not safe, I think the fast fail will be better than slient sucess.
But for this case, I haven't found the root cause about this.
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.
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.
yes, this PR's change looks good to me. I will take a deep look #2608 assp in this week
| List<ShuffleBlock> shuffleBlocks = Lists.newArrayList(); | ||
| int partitionRequireSize = 0; | ||
| for (ShuffleBlockInfo sbi : ptb.getValue()) { | ||
| if (sbi.getData().refCnt() == 0) { |
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.
yes, this PR's change looks good to me. I will take a deep look #2608 assp in this week
What changes were proposed in this pull request?
Fix
IllegalReferenceCountExceptionabout ShuffleBlockInfoWhy are the changes needed?
for #2517
Does this PR introduce any user-facing change?
No.
How was this patch tested?
current UT