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

[ISSUE-273][BUG] Get shuffle result failed caused by concurrent calls to registerShuffle #274

Merged
merged 2 commits into from
Oct 21, 2022

Conversation

leixm
Copy link
Contributor

@leixm leixm commented Oct 20, 2022

What changes were proposed in this pull request?

For issue#173, make the lifecycle of remoteStorage var scoped in the method of registerShuffle

Why are the changes needed?

This problem causes getShuffleResult to fail, which eventually causes the task to fail.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing UT

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2022

Codecov Report

Merging #274 (0f00053) into master (7a2f0ef) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #274   +/-   ##
=========================================
  Coverage     59.71%   59.71%           
  Complexity     1377     1377           
=========================================
  Files           166      166           
  Lines          8918     8918           
  Branches        853      853           
=========================================
  Hits           5325     5325           
  Misses         3318     3318           
  Partials        275      275           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jerqi jerqi requested a review from zuston October 21, 2022 02:12
@jerqi jerqi linked an issue Oct 21, 2022 that may be closed by this pull request
3 tasks
@jerqi jerqi changed the title [Bug] Get shuffle result failed caused by concurrent calls to registerShuffle [ISSUE-173][Bug] Get shuffle result failed caused by concurrent calls to registerShuffle Oct 21, 2022
@leixm leixm changed the title [ISSUE-173][Bug] Get shuffle result failed caused by concurrent calls to registerShuffle [ISSUE-273][Bug] Get shuffle result failed caused by concurrent calls to registerShuffle Oct 21, 2022
@zuston
Copy link
Member

zuston commented Oct 21, 2022

This change is OK for me. Please update the spark3 client. @leixm

@jerqi jerqi changed the title [ISSUE-273][Bug] Get shuffle result failed caused by concurrent calls to registerShuffle [ISSUE-273][BUG] Get shuffle result failed caused by concurrent calls to registerShuffle Oct 21, 2022
@zuston zuston merged commit 47effb2 into apache:master Oct 21, 2022
@zuston
Copy link
Member

zuston commented Oct 21, 2022

Thanks for your contribution @leixm Merged.

@leixm
Copy link
Contributor Author

leixm commented Oct 21, 2022

@zuston Thank you for your review.

@jerqi
Copy link
Contributor

jerqi commented Oct 21, 2022

I will back port this pr to 0.6.

jerqi pushed a commit that referenced this pull request Oct 21, 2022
… to registerShuffle (#274)

What changes were proposed in this pull request?
For issue#173, make the lifecycle of remoteStorage var scoped in the method of registerShuffle

Why are the changes needed?
This problem causes getShuffleResult to fail, which eventually causes the task to fail.

Does this PR introduce any user-facing change?
No

How was this patch tested?
Existing UT

Co-authored-by: leixianming <leixianming@didiglobal.com>
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.

[Bug] Get shuffle result failed caused by concurrent calls to registerShuffle
4 participants