-
Notifications
You must be signed in to change notification settings - Fork 154
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
[#2282] improvement(spark3): Invoke with object self in DelegationRssShuffleManager #2283
Conversation
What will it happen if we don't have this? |
Nothing will happen, because we bypass the getReader in the DelegationRssShuffleManager, so the acutall getReader invoking will happen in the underlying concrate shuffle manager. But this is an obvious bug, if someone wants to implement custom shuffle manager, he will follow the incorrect examples. |
So I think this is an improvement instead of a bug fix. If this is bug fix, we would better have a ut for it. |
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.
@zuston Good catch! We encountered this issue too in this week! Thanks for your contribution!
I prefer to infer the appropriate shuffle manager from ShuffleHandle rather than overriding the shuffle manager configuration on the dirver side, so that we can implement stage-level fallback. |
…anager (#2283) Co-authored-by: Junfan Zhang <[email protected]> ### What changes were proposed in this pull request? Fix the bug of none object self when invoking the reflection method. ### Why are the changes needed? Fix: #2282 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests
What changes were proposed in this pull request?
Fix the bug of none object self when invoking the reflection method.
Why are the changes needed?
Fix: #2282
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests