-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-39459][CORE] local*HostName* methods should support IPv6
#36863
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
localHostName* methods should support IPv6
|
cc @dbtsai |
localHostName* methods should support IPv6local*HostName* methods should support IPv6
|
I found other failed cases, like
|
It seems that HTTP related cases will fail? |
|
There are totally independent from this patch. I'm working on them, too, @LuciferYang . :) |
|
Just FYI, |
|
The second PR is here and more will come. |
|
Could you review this when you have a chance please, @HyukjinKwon ? |
|
Looks fine. cc @Ngone51 and @jiangxb1987 FYI |
|
Thank you, @HyukjinKwon and @LuciferYang . |

What changes were proposed in this pull request?
This PR aims to
IPv6-only environment inlocalHostName,localHostNameForUriandlocalCanonicalHostNamemethodsIPv4environment.Why are the changes needed?
Currently, Apache Spark fails on pure-IPv6 environment (which doesn't have IPv4 address).
BEFORE
AFTER
Does this PR introduce any user-facing change?
This will help IPv6-only environment users.
How was this patch tested?
Since we don't have IPv6 test CI, this should be tested in IPv6 environment manually with
DistributedSuiteandSpark-Shell.DistributedSuite
SPARK-SHELL