incubator-uniffle
incubator-uniffle copied to clipboard
[Improvement] Avoid starting unused threads in spark driver
What changes were proposed in this pull request?
Avoid starting unused threads in spark driver
Why are the changes needed?
In Spark RssShuffleManager, for the role of driver, there is no need to start send blocks threads.
Does this PR introduce any user-facing change?
No
How was this patch tested?
No need
Actually I think it brings extra complexity in order to avoid initializing a thread, it's a little worthless.
Actually I think it brings extra complexity in order to avoid initializing a thread, it's a little worthless.
OK.
I'll close it, if you have another better solution, you can raise another pr.