[
https://issues.apache.org/jira/browse/HADOOP-20095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18150821#comment-18150821
]
ASF GitHub Bot commented on HADOOP-20095:
-----------------------------------------
hadoop-yetus commented on PR #9030:
URL: https://github.com/apache/hadoop/pull/9030#issuecomment-7162570077
:confetti_ball: **+1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 0m 25s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 0s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available.
|
| +1 :green_heart: | @author | 0m 0s | | The patch does not contain
any @author tags. |
| +1 :green_heart: | test4tests | 0m 0s | | The patch appears to
include 1 new or modified test files. |
|||| _ trunk Compile Tests _ |
| +1 :green_heart: | mvninstall | 30m 55s | | trunk passed |
| +1 :green_heart: | compile | 11m 10s | | trunk passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | compile | 11m 15s | | trunk passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | checkstyle | 0m 47s | | trunk passed |
| +1 :green_heart: | mvnsite | 1m 10s | | trunk passed |
| +1 :green_heart: | javadoc | 0m 51s | | trunk passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javadoc | 0m 49s | | trunk passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | spotbugs | 1m 48s | | trunk passed |
| +1 :green_heart: | shadedclient | 18m 48s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +1 :green_heart: | mvninstall | 0m 53s | | the patch passed |
| +1 :green_heart: | compile | 10m 48s | | the patch passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javac | 10m 48s | | the patch passed |
| +1 :green_heart: | compile | 11m 14s | | the patch passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javac | 11m 14s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 0m 44s | | the patch passed |
| +1 :green_heart: | mvnsite | 1m 8s | | the patch passed |
| +1 :green_heart: | javadoc | 0m 47s | | the patch passed with JDK
Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | javadoc | 0m 48s | | the patch passed with JDK
Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| +1 :green_heart: | spotbugs | 2m 1s | | the patch passed |
| +1 :green_heart: | shadedclient | 18m 51s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 18m 49s | | hadoop-common in the patch
passed. |
| +1 :green_heart: | asflicense | 0m 38s | | The patch does not
generate ASF License warnings. |
| | | 145m 28s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.57 ServerAPI=1.57 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-9030/1/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/9030 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets |
| uname | Linux 3376371cc96b 5.15.0-204-generic #214-Ubuntu SMP Fri Nov 6
00:52:52 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / d5034892aecb59029cd42ae01dc98a7793fe1239 |
| Default Java | Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.13.1+2-1-24.04.1-Ubuntu
/usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.21.1+2-1-24.04.1-Ubuntu |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-9030/1/testReport/ |
| Max. process+thread count | 1275 (vs. ulimit of 10000) |
| modules | C: hadoop-common-project/hadoop-common U:
hadoop-common-project/hadoop-common |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-9030/1/console |
| versions | git=2.43.0 maven=3.9.15 spotbugs=4.9.7 |
| Powered by | Apache Yetus 0.14.1 https://yetus.apache.org |
This message was automatically generated.
> NetUtils.connect should report the endpoint when the socket cannot use its
> address type
> ---------------------------------------------------------------------------------------
>
> Key: HADOOP-20095
> URL: https://issues.apache.org/jira/browse/HADOOP-20095
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Siyao Meng
> Priority: Major
> Labels: pull-request-available
>
> On a dual stack cluster where DataNodes register IPv6 addresses, a client JVM
> started with {{-Djava.net.preferIPv4Stack=true}} fails every block read and
> write with a bare unchecked exception that names neither the target nor the
> reason:
> {noformat}
> java.nio.channels.UnsupportedAddressTypeException
> at sun.nio.ch.Net.checkAddress(Net.java:...)
> at sun.nio.ch.SocketChannelImpl.checkRemote(SocketChannelImpl.java:...)
> at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:...)
> at
> org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:...)
> at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:...)
> {noformat}
> {{NetUtils.connect}} already translates {{SocketTimeoutException}} and
> {{UnresolvedAddressException}} into IOExceptions.
> {{UnsupportedAddressTypeException}} is a RuntimeException, so it escapes the
> IOException handling of callers (for example the DFS client retry and dead
> node logic) and gives the user nothing to act on.
> Proposal: catch it in {{NetUtils.connect}} and throw a {{SocketException}}
> that names the endpoint and the likely cause (an IPv6 address used from a JVM
> with {{java.net.preferIPv4Stack=true}}), keeping the original exception as
> the cause.
> Workarounds for affected clients are to drop {{preferIPv4Stack=true}} or set
> {{dfs.client.use.datanode.hostname=true}}.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]