-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-53999][CORE] Native KQueue Transport support on BSD/MacOS #52703
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
| return switch (mode) { | ||
| case NIO -> new NioEventLoopGroup(numThreads, threadFactory); | ||
| case EPOLL -> new EpollEventLoopGroup(numThreads, threadFactory); | ||
| case KQUEUE -> new KQueueEventLoopGroup(numThreads, threadFactory); |
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 is a deprecated API usage.
Of course, we can fix it uniformly in a separate pr
|
@yaooqinn Does this test pass on your Mac? |
|
+1, LGTM. Thank you, @yaooqinn , @LuciferYang , @sarutak . Merged to master for Apache Spark 4.1.0-preview3. I manually verified on my Mac. It works. |
|
I confirmed this test passes on my clean environment. |
|
No problem at all, @sarutak . Thank you for letting us know. 😄 |
|
Thank you @LuciferYang @sarutak @dongjoon-hyun |
What changes were proposed in this pull request?
This PR adds Native KQUEUE via JNI support for transport, such as shuffle, file, and rpc procedures
Why are the changes needed?
Feature parity between Linux and MacOS/BSD platforms
Does this PR introduce any user-facing change?
Yes, a new option for io.mode
How was this patch tested?
new unit tests
Was this patch authored or co-authored using generative AI tooling?
no