Skip to content

HDFS-17981. Make the bind address for HDFS NFS Gateway configurable - #8744

Open
sodonnel wants to merge 7 commits into
apache:trunkfrom
sodonnel:HDFS-17981
Open

sodonnel wants to merge 7 commits into
apache:trunkfrom
sodonnel:HDFS-17981

Conversation

@sodonnel

Copy link
Copy Markdown
Contributor

Description of PR

In some cases, one may want to bind the NFS server process to localhost or a single interface in a multiple interface host. At the moment the bind address is hard coded to 0.0.0.0. This change allows it to be configurable with a new config key, defaulting to the existing value.

nfs.server.bind.host

Aside from the configuration, there is not intended to be any functionality change.

https://issues.apache.org/jira/browse/HDFS-17981

How was this patch tested?

New unit tests and existing tests.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

An unresolved moderate test reliability issue and additional test coverage gaps remain.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Makes the HDFS NFS Gateway bind address configurable via nfs.server.bind.host, preserving 0.0.0.0 as the default.

Changes:

  • Adds the bind-host configuration key and default.
  • Propagates the configured host through NFS and mountd RPC servers.
  • Adds configuration and binding tests.
File summaries
File Description
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml Defines the default bind-host configuration.
hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/nfs3/TestNfsBindConfiguration.java Tests bind-host configuration.
hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java Passes the configured host to NFS RPC.
hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/mount/RpcProgramMountd.java Passes the configured host to mountd RPC.
hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java Defines bind-host constants.
hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/nfs/nfs3/Nfs3Base.java Binds the NFS TCP server to the configured host.
hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/mount/MountdBase.java Binds mountd TCP and UDP servers to the configured host.
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/oncrpc/TestSimpleServerBind.java Tests server binding behavior.
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/SimpleUdpServer.java Supports configurable UDP binding.
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/SimpleTcpServer.java Supports configurable TCP binding.
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/RpcProgram.java Stores and exposes the RPC bind host.
Review details
  • Files reviewed: 11/11 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

sodonnel and others added 2 commits September 17, 2026 17:23
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The review identified one moderate test-reliability issue and three nit-level issues to fix before approval.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/oncrpc/TestSimpleServerBind.java:64

  • The body is not indented, which violates the repository's configured Indentation check and leaves this new test inconsistent with the surrounding Java code. Indent the return statement.
return 0;

hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/oncrpc/TestSimpleServerBind.java:65

  • This helper is named randomPort, but it always returns 0, which asks the OS for an ephemeral port rather than selecting a random port. Rename it (and its call sites) to make the test's collision-avoidance intent clear.
  private static int randomPort() {
return 0;
  }
  • Files reviewed: 12/12 changed files
  • Comments generated: 3
  • Review effort level: Lite

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved moderate compatibility and restart-state issues remain.

Review details

Suppressed comments (6)

Previously missed (4) — in code that hasn't changed since the last review.

hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/mount/MountdBase.java:104

  • registered is sticky across restarts: after start(true); stop();, a later start(false); stop() still attempts to unregister both ports even though the second run was not registered. Make this reflect the current invocation (for example, assign registered = register) or clear it during cleanup.
    hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/nfs/nfs3/Nfs3Base.java:56
  • registered is sticky across restarts: after start(true); stop();, a later start(false); stop() still enters the unregister branch for a port that was never registered in the second run. Make this reflect the current invocation (for example, assign registered = register) or clear it during cleanup.
    hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/mount/RpcProgramMountd.java:92
  • The added tests cover configuration lookup and the generic base-class forwarding separately, but none constructs RpcProgramMountd from an NfsConfiguration containing a non-default bind host. A regression in this new key-to-constructor wiring could therefore pass all of the added tests. Add a corresponding mountd integration assertion for the configured bind host or bound socket address.
    hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java:182
  • The added tests cover configuration lookup and the generic base-class forwarding separately, but none constructs RpcProgramNfs3 from an NfsConfiguration containing a non-default bind host. A regression in this new key-to-constructor wiring (for example, using the wrong key or default here) would therefore pass all of the added tests. Add an integration assertion that sets the key before constructing NFS and verifies getBindHost() or the bound socket address.

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/SimpleTcpServer.java:61

  • Before this compatibility constructor, run() bound with new InetSocketAddress(port), which uses the JVM's any-local address. Passing the hard-coded 0.0.0.0 changes that to an IPv4-only wildcard when IPv6 is enabled, so the no-configuration path can stop accepting IPv6 connections despite the stated no-functionality-change goal. Keep the legacy constructor on the original any-local path and use the explicit host only for the new overload.
    this(port, "0.0.0.0", program, workercount);

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/oncrpc/SimpleUdpServer.java:56

  • This compatibility constructor has the same IPv4-only default regression as the TCP server: the old new InetSocketAddress(port) could use the JVM's any-local address, while this path now forces 0.0.0.0. On a JVM configured for IPv6, the default UDP service may no longer accept IPv6 clients. Preserve the old any-local behavior for the legacy constructor and reserve the explicit host for the new overload.
    this(port, "0.0.0.0", program, workerCount);
  • Files reviewed: 12/12 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Resolve the default address-family behavior and ensure NFS/mountd test services are stopped reliably.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (1)

hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java:31

  • The old NFS path passed a null bind host to the legacy server constructors, which used new InetSocketAddress(port) and preserved the JVM's wildcard address family. Making the default literal 0.0.0.0 forces the NFS and mountd sockets to IPv4; on IPv6-only or IPv6-preferred hosts this can fail to bind or lose IPv6 reachability, contrary to the stated default/no-functionality-change contract. Preserve the legacy wildcard for the default while still honoring an explicitly configured host.
  public static final String DFS_NFS_SERVER_BIND_HOST_DEFAULT = "0.0.0.0";
  • Files reviewed: 13/13 changed files
  • Comments generated: 1
  • Review effort level: Lite

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 7m 19s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 2m 7s Maven dependency ordering for branch
+1 💚 mvninstall 28m 9s trunk passed
+1 💚 compile 8m 36s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 8m 58s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 2m 59s trunk passed
+1 💚 mvnsite 3m 31s trunk passed
+1 💚 javadoc 2m 59s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 2m 58s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 1m 47s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 16m 1s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 16s Maven dependency ordering for patch
+1 💚 mvninstall 2m 0s the patch passed
+1 💚 compile 8m 12s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 8m 12s the patch passed
+1 💚 compile 8m 49s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 8m 49s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 3m 0s /results-checkstyle-root.txt root: The patch generated 8 new + 39 unchanged - 0 fixed = 47 total (was 39)
+1 💚 mvnsite 3m 26s the patch passed
-1 ❌ javadoc 0m 35s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 3 new + 384 unchanged - 0 fixed = 387 total (was 384)
-1 ❌ javadoc 0m 34s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 35s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 3 new + 379 unchanged - 0 fixed = 382 total (was 379)
-1 ❌ javadoc 0m 35s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 5m 59s the patch passed
+1 💚 shadedclient 16m 2s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 19m 2s hadoop-common in the patch passed.
+1 💚 unit 0m 37s hadoop-nfs in the patch passed.
+1 💚 unit 180m 30s hadoop-hdfs in the patch passed.
+1 💚 unit 2m 48s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 0m 47s The patch does not generate ASF License warnings.
353m 9s
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/3/artifact/out/Dockerfile
GITHUB PR #8744
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux be70dfb47d91 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 76b1267
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/3/testReport/
Max. process+thread count 4676 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/3/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.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 22s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 1m 50s Maven dependency ordering for branch
+1 💚 mvninstall 37m 34s trunk passed
+1 💚 compile 10m 31s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 10m 40s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 3m 38s trunk passed
+1 💚 mvnsite 3m 31s trunk passed
+1 💚 javadoc 2m 50s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 2m 53s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 1m 54s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 18m 49s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 17s Maven dependency ordering for patch
+1 💚 mvninstall 2m 4s the patch passed
+1 💚 compile 10m 1s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 10m 1s the patch passed
+1 💚 compile 10m 27s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 10m 27s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 3m 44s /results-checkstyle-root.txt root: The patch generated 5 new + 39 unchanged - 0 fixed = 44 total (was 39)
+1 💚 mvnsite 3m 28s the patch passed
-1 ❌ javadoc 0m 30s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 3 new + 384 unchanged - 0 fixed = 387 total (was 384)
-1 ❌ javadoc 0m 31s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 33s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 3 new + 379 unchanged - 0 fixed = 382 total (was 379)
-1 ❌ javadoc 0m 35s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 6m 17s the patch passed
+1 💚 shadedclient 18m 52s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 17m 51s hadoop-common in the patch passed.
+1 💚 unit 0m 37s hadoop-nfs in the patch passed.
-1 ❌ unit 188m 26s /patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt hadoop-hdfs in the patch passed.
+1 💚 unit 3m 3s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 0m 55s The patch does not generate ASF License warnings.
376m 51s
Reason Tests
Failed junit tests hadoop.hdfs.server.balancer.TestBalancerWithHANameNodes
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/5/artifact/out/Dockerfile
GITHUB PR #8744
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 7f7b1534f081 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 92e43ed
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/5/testReport/
Max. process+thread count 4005 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/5/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.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 5m 16s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+0 🆗 xmllint 0m 1s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 1m 46s Maven dependency ordering for branch
+1 💚 mvninstall 54m 51s trunk passed
+1 💚 compile 20m 56s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 20m 40s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 6m 10s trunk passed
+1 💚 mvnsite 5m 44s trunk passed
+1 💚 javadoc 4m 26s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 4m 28s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 3m 37s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 35m 9s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 30s Maven dependency ordering for patch
+1 💚 mvninstall 3m 40s the patch passed
+1 💚 compile 19m 3s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 19m 3s the patch passed
+1 💚 compile 20m 11s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 20m 11s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 5m 59s /results-checkstyle-root.txt root: The patch generated 8 new + 38 unchanged - 0 fixed = 46 total (was 38)
+1 💚 mvnsite 5m 42s the patch passed
-1 ❌ javadoc 0m 43s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 43s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 11m 23s the patch passed
+1 💚 shadedclient 34m 42s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 27m 3s hadoop-common in the patch passed.
+1 💚 unit 0m 50s hadoop-nfs in the patch passed.
+1 💚 unit 294m 57s hadoop-hdfs in the patch passed.
+1 💚 unit 4m 23s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 1m 32s The patch does not generate ASF License warnings.
617m 56s
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/2/artifact/out/Dockerfile
GITHUB PR #8744
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux f7092b7027c6 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 3f2a6e9
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/2/testReport/
Max. process+thread count 2237 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/2/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.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 20m 17s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 1m 47s Maven dependency ordering for branch
+1 💚 mvninstall 56m 6s trunk passed
+1 💚 compile 21m 1s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 20m 14s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 6m 2s trunk passed
+1 💚 mvnsite 5m 48s trunk passed
+1 💚 javadoc 4m 23s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 4m 25s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 3m 35s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 35m 48s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 29s Maven dependency ordering for patch
+1 💚 mvninstall 3m 41s the patch passed
+1 💚 compile 18m 57s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 18m 57s the patch passed
+1 💚 compile 20m 9s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 20m 9s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 5m 57s /results-checkstyle-root.txt root: The patch generated 8 new + 38 unchanged - 0 fixed = 46 total (was 38)
+1 💚 mvnsite 5m 40s the patch passed
-1 ❌ javadoc 0m 44s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 47s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 11m 22s the patch passed
+1 💚 shadedclient 34m 39s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 26m 57s hadoop-common in the patch passed.
+1 💚 unit 0m 52s hadoop-nfs in the patch passed.
+1 💚 unit 295m 44s hadoop-hdfs in the patch passed.
+1 💚 unit 4m 12s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 1m 33s The patch does not generate ASF License warnings.
634m 16s
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/1/artifact/out/Dockerfile
GITHUB PR #8744
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 49fc1d53fd04 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 3f2a6e9
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/1/testReport/
Max. process+thread count 2458 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/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.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 58s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 1m 46s Maven dependency ordering for branch
+1 💚 mvninstall 51m 53s trunk passed
+1 💚 compile 21m 22s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 20m 3s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 6m 2s trunk passed
+1 💚 mvnsite 5m 45s trunk passed
+1 💚 javadoc 4m 34s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 4m 36s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 3m 19s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 35m 34s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 31s Maven dependency ordering for patch
+1 💚 mvninstall 3m 26s the patch passed
+1 💚 compile 16m 50s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 16m 50s the patch passed
+1 💚 compile 18m 11s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 18m 11s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 5m 56s /results-checkstyle-root.txt root: The patch generated 5 new + 38 unchanged - 0 fixed = 43 total (was 38)
+1 💚 mvnsite 5m 40s the patch passed
-1 ❌ javadoc 0m 46s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 3 new + 384 unchanged - 0 fixed = 387 total (was 384)
-1 ❌ javadoc 0m 45s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 47s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 3 new + 379 unchanged - 0 fixed = 382 total (was 379)
-1 ❌ javadoc 0m 50s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 10m 39s the patch passed
+1 💚 shadedclient 35m 23s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 24m 29s hadoop-common in the patch passed.
+1 💚 unit 0m 56s hadoop-nfs in the patch passed.
+1 💚 unit 261m 32s hadoop-hdfs in the patch passed.
+1 💚 unit 4m 0s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 1m 26s The patch does not generate ASF License warnings.
569m 25s
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/4/artifact/out/Dockerfile
GITHUB PR #8744
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 0ff16d5357e3 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / 5d3bde0
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/4/testReport/
Max. process+thread count 3351 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/4/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.

sodonnel and others added 2 commits September 18, 2026 09:56
Ensure Nfs3 service starts and stops correctly in tests.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Unresolved moderate lifecycle, test-isolation, and binding-default issues remain.

Review details

Suppressed comments (7)

hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/mount/MountdBase.java:129

  • With register=false, this guard leaves udpBoundPort stale after the UDP server is shut down. If the same MountdBase is restarted and startup fails before assigning a new port, stop() can later unregister the old port; make clearing the bound-port field unconditional while keeping the unregister call conditional.
    if (registered && udpBoundPort > 0) {
      rpcProgram.unregister(PortmapMapping.TRANSPORT_UDP, udpBoundPort);
      udpBoundPort = 0;
    }

hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/mount/MountdBase.java:133

  • With register=false, this guard leaves tcpBoundPort stale after the TCP server is shut down. If the same MountdBase is restarted and startup fails before assigning a new port, stop() can later unregister the old port; make clearing the bound-port field unconditional while keeping the unregister call conditional.
    if (registered && tcpBoundPort > 0) {
      rpcProgram.unregister(PortmapMapping.TRANSPORT_TCP, tcpBoundPort);
      tcpBoundPort = 0;
    }

hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/nfs/nfs3/Nfs3Base.java:94

  • When start(false) is used, this condition skips the body entirely, so nfsBoundPort is not cleared even though the TCP server is shut down below. A later restart that fails before assigning a new port can then make stop() unregister this stale port; keep the reset unconditional and guard only the unregister call with registered.
    if (registered && nfsBoundPort > 0) {
      rpcProgram.unregister(PortmapMapping.TRANSPORT_TCP, nfsBoundPort);
      nfsBoundPort = 0;
    }

hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/TestMountd.java:110

  • This test starts both the mountd and NFS Netty servers with register=false but never stops them, so every successful or failed run leaves listening sockets and event-loop threads behind. Wrap the start/assertion block in a try/finally and call nfs3.stop() as the preceding test does.
      nfs3.startServiceInternal(false);
      RpcProgramMountd mountd = (RpcProgramMountd) nfs3.getMountd().getRpcProgram();
      assertEquals("127.0.0.1", mountd.getBindHost(),
          "nfs.server.bind.host must be forwarded to RpcProgramMountd");
    }

hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/TestMountd.java:80

  • This NFS3 startup also launches Nfs3HttpServer, but only the RPC ports are made ephemeral here; the HTTP server therefore uses its fixed default port 50079. Parallel NFS tests can collide on that port (and startDaemons only logs the bind failure), so make the HTTP/HTTPS test addresses ephemeral as well.
    config.set(NfsConfigKeys.DFS_NFS_SERVER_BIND_HOST_KEY, "127.0.0.1");

hadoop-hdfs-project/hadoop-hdfs-nfs/src/test/java/org/apache/hadoop/hdfs/nfs/TestMountd.java:101

  • This second NFS3 startup also launches Nfs3HttpServer, but only the RPC ports are made ephemeral here; the HTTP server therefore uses its fixed default port 50079. Parallel NFS tests can collide on that port (and startDaemons only logs the bind failure), so make the HTTP/HTTPS test addresses ephemeral as well.
    config.set(NfsConfigKeys.DFS_NFS_SERVER_BIND_HOST_KEY, "127.0.0.1");

hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml:6780

  • Using 0.0.0.0 here changes the old wildcard behavior on JVMs that select an IPv6 wildcard: the previous new InetSocketAddress(port) path could bind to ::, while this configured path forces an IPv4 socket. That can make IPv6 clients unreachable by default, contrary to the stated no-functionality-change/default-preservation goal; preserve the old wildcard behavior when unset or explicitly document the IPv4-only change.
    <value>0.0.0.0</value>
  • Files reviewed: 13/13 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 2s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 1s codespell was not available.
+0 🆗 detsecrets 0m 1s detect-secrets was not available.
+0 🆗 xmllint 0m 1s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 2m 2s Maven dependency ordering for branch
+1 💚 mvninstall 53m 22s trunk passed
+1 💚 compile 20m 25s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 20m 8s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 6m 29s trunk passed
+1 💚 mvnsite 5m 53s trunk passed
+1 💚 javadoc 4m 20s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 4m 28s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 3m 25s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 35m 24s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for patch
+1 💚 mvninstall 3m 33s the patch passed
+1 💚 compile 19m 9s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 19m 9s the patch passed
+1 💚 compile 20m 7s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 20m 7s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 6m 3s /results-checkstyle-root.txt root: The patch generated 5 new + 38 unchanged - 0 fixed = 43 total (was 38)
+1 💚 mvnsite 5m 45s the patch passed
-1 ❌ javadoc 0m 44s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 3 new + 384 unchanged - 0 fixed = 387 total (was 384)
-1 ❌ javadoc 0m 44s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 45s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 3 new + 379 unchanged - 0 fixed = 382 total (was 379)
-1 ❌ javadoc 0m 45s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 11m 8s the patch passed
+1 💚 shadedclient 35m 21s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 25m 31s hadoop-common in the patch passed.
+1 💚 unit 0m 57s hadoop-nfs in the patch passed.
+1 💚 unit 285m 52s hadoop-hdfs in the patch passed.
+1 💚 unit 5m 10s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 1m 38s The patch does not generate ASF License warnings.
602m 5s
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/6/artifact/out/Dockerfile
GITHUB PR #8744
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 46bf6f99a44c 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / b6cafff
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/6/testReport/
Max. process+thread count 3147 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/6/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.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 0m 59s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+0 🆗 detsecrets 0m 0s detect-secrets was not available.
+0 🆗 xmllint 0m 0s xmllint was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 1m 46s Maven dependency ordering for branch
+1 💚 mvninstall 53m 28s trunk passed
+1 💚 compile 20m 25s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 compile 20m 10s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 checkstyle 6m 21s trunk passed
+1 💚 mvnsite 5m 44s trunk passed
+1 💚 javadoc 4m 25s trunk passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javadoc 4m 31s trunk passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
-1 ❌ spotbugs 3m 26s /branch-spotbugs-hadoop-common-project_hadoop-common-warnings.html hadoop-common-project/hadoop-common in trunk has 1 extant spotbugs warnings.
+1 💚 shadedclient 36m 28s branch has no errors when building and testing our client artifacts.
-0 ⚠️ patch 37m 9s Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 29s Maven dependency ordering for patch
+1 💚 mvninstall 3m 29s the patch passed
+1 💚 compile 18m 51s the patch passed with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu
+1 💚 javac 18m 51s the patch passed
+1 💚 compile 19m 20s the patch passed with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu
+1 💚 javac 19m 20s the patch passed
+1 💚 blanks 0m 0s The patch has no blanks issues.
-0 ⚠️ checkstyle 6m 5s /results-checkstyle-root.txt root: The patch generated 1 new + 37 unchanged - 1 fixed = 38 total (was 38)
+1 💚 mvnsite 5m 41s the patch passed
-1 ❌ javadoc 0m 46s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 3 new + 384 unchanged - 0 fixed = 387 total (was 384)
-1 ❌ javadoc 0m 45s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-21.0.12+8-1-24.04-Ubuntu with JDK Ubuntu-21.0.12+8-1-24.04-Ubuntu generated 2 new + 121 unchanged - 0 fixed = 123 total (was 121)
-1 ❌ javadoc 0m 44s /results-javadoc-javadoc-hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-common-project_hadoop-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 3 new + 379 unchanged - 0 fixed = 382 total (was 379)
-1 ❌ javadoc 0m 47s /results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu.txt hadoop-hdfs-project_hadoop-hdfs-nfs-jdkUbuntu-17.0.20+8-1-24.04-Ubuntu with JDK Ubuntu-17.0.20+8-1-24.04-Ubuntu generated 2 new + 117 unchanged - 0 fixed = 119 total (was 117)
+1 💚 spotbugs 10m 43s the patch passed
+1 💚 shadedclient 36m 7s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 26m 52s hadoop-common in the patch passed.
+1 💚 unit 1m 8s hadoop-nfs in the patch passed.
+1 💚 unit 284m 54s hadoop-hdfs in the patch passed.
+1 💚 unit 4m 12s hadoop-hdfs-nfs in the patch passed.
+1 💚 asflicense 1m 30s The patch does not generate ASF License warnings.
601m 59s
Subsystem Report/Notes
Docker ClientAPI=1.56 ServerAPI=1.56 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/7/artifact/out/Dockerfile
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets xmllint
uname Linux 0edcfb838b53 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / a3febb2
Default Java Ubuntu-17.0.20+8-1-24.04-Ubuntu
Multi-JDK versions /usr/lib/jvm/java-21-openjdk-amd64:Ubuntu-21.0.12+8-1-24.04-Ubuntu /usr/lib/jvm/java-17-openjdk-amd64:Ubuntu-17.0.20+8-1-24.04-Ubuntu
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/7/testReport/
Max. process+thread count 3125 (vs. ulimit of 10000)
modules C: hadoop-common-project/hadoop-common hadoop-common-project/hadoop-nfs hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-nfs U: .
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8744/7/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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants