[
https://issues.apache.org/jira/browse/HDFS-17593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090753#comment-18090753
]
ASF GitHub Bot commented on HDFS-17593:
---------------------------------------
hadoop-yetus commented on PR #8561:
URL: https://github.com/apache/hadoop/pull/8561#issuecomment-4773965649
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 14m 56s | | Docker mode activated. |
|||| _ Prechecks _ |
| +1 :green_heart: | dupname | 0m 0s | | No case conflicting files
found. |
| +0 :ok: | codespell | 0m 1s | | codespell was not available. |
| +0 :ok: | detsecrets | 0m 1s | | 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 _ |
| +0 :ok: | mvndep | 3m 22s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 46m 44s | | trunk passed |
| +1 :green_heart: | compile | 6m 57s | | trunk passed with JDK Red
Hat, Inc.-21.0.11+10-LTS |
| +1 :green_heart: | compile | 7m 28s | | trunk passed with JDK Red
Hat, Inc.-17.0.19+10-LTS |
| +1 :green_heart: | checkstyle | 3m 14s | | trunk passed |
| +1 :green_heart: | mvnsite | 7m 23s | | trunk passed |
| +1 :green_heart: | javadoc | 6m 31s | | trunk passed with JDK Red
Hat, Inc.-21.0.11+10-LTS |
| +1 :green_heart: | javadoc | 6m 32s | | trunk passed with JDK Red
Hat, Inc.-17.0.19+10-LTS |
| +0 :ok: | spotbugs | 1m 51s | |
branch/hadoop-hdfs-project/hadoop-hdfs-native-client no spotbugs output file
(spotbugsXml.xml) |
| +1 :green_heart: | shadedclient | 32m 1s | | branch has no errors
when building and testing our client artifacts. |
|||| _ Patch Compile Tests _ |
| +0 :ok: | mvndep | 0m 50s | | Maven dependency ordering for patch |
| -1 :x: | mvninstall | 2m 38s |
[/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-native-client.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs-native-client.txt)
| hadoop-hdfs-native-client in the patch failed. |
| -1 :x: | compile | 4m 8s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-21.0.11+10-LTS. |
| -1 :x: | cc | 4m 8s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-21.0.11+10-LTS. |
| -1 :x: | golang | 4m 8s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-21.0.11+10-LTS. |
| -1 :x: | javac | 4m 8s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-21.0.11+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-21.0.11+10-LTS. |
| -1 :x: | compile | 3m 42s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-17.0.19+10-LTS. |
| -1 :x: | cc | 3m 42s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-17.0.19+10-LTS. |
| -1 :x: | golang | 3m 42s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-17.0.19+10-LTS. |
| -1 :x: | javac | 3m 42s |
[/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-compile-hadoop-hdfs-project-jdkRedHat,Inc.-17.0.19+10-LTS.txt)
| hadoop-hdfs-project in the patch failed with JDK Red Hat,
Inc.-17.0.19+10-LTS. |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| -0 :warning: | checkstyle | 1m 58s |
[/results-checkstyle-hadoop-hdfs-project.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/results-checkstyle-hadoop-hdfs-project.txt)
| hadoop-hdfs-project: The patch generated 2 new + 55 unchanged - 0 fixed =
57 total (was 55) |
| +1 :green_heart: | mvnsite | 3m 29s | | the patch passed |
| +1 :green_heart: | javadoc | 2m 38s | | the patch passed with JDK
Red Hat, Inc.-21.0.11+10-LTS |
| +1 :green_heart: | javadoc | 2m 38s | | the patch passed with JDK
Red Hat, Inc.-17.0.19+10-LTS |
| +0 :ok: | spotbugs | 0m 34s | |
hadoop-hdfs-project/hadoop-hdfs-native-client has no data from spotbugs |
| +1 :green_heart: | shadedclient | 28m 57s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 3m 4s | | hadoop-hdfs-client in the patch
passed. |
| +1 :green_heart: | unit | 222m 33s | | hadoop-hdfs in the patch
passed. |
| -1 :x: | unit | 3m 13s |
[/patch-unit-hadoop-hdfs-project_hadoop-hdfs-native-client.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs-native-client.txt)
| hadoop-hdfs-native-client in the patch failed. |
| +1 :green_heart: | asflicense | 1m 19s | | The patch does not
generate ASF License warnings. |
| | | 444m 45s | | |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.55 ServerAPI=1.55 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/artifact/out/Dockerfile
|
| GITHUB PR | https://github.com/apache/hadoop/pull/8561 |
| Optional Tests | dupname asflicense compile javac javadoc mvninstall
mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets cc golang |
| uname | Linux e35c49f37d45 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11
22:54:33 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | dev-support/bin/hadoop.sh |
| git revision | trunk / c72419ef6f4dd356540e8c2980884c68e4762fef |
| Default Java | Red Hat, Inc.-17.0.19+10-LTS |
| Multi-JDK versions |
/usr/lib/jvm/java-21-openjdk-21.0.11.0.10-1.el8_10.x86_64:Red Hat,
Inc.-21.0.11+10-LTS
/usr/lib/jvm/java-17-openjdk-17.0.19.0.10-1.el8_10.x86_64:Red Hat,
Inc.-17.0.19+10-LTS |
| Test Results |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/testReport/ |
| Max. process+thread count | 3490 (vs. ulimit of 10000) |
| modules | C: hadoop-hdfs-project/hadoop-hdfs-client
hadoop-hdfs-project/hadoop-hdfs hadoop-hdfs-project/hadoop-hdfs-native-client
U: hadoop-hdfs-project |
| Console output |
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/1/console |
| versions | git=2.43.7 maven=3.9.15 spotbugs=4.9.7 |
| Powered by | Apache Yetus 0.14.1 https://yetus.apache.org |
This message was automatically generated.
> Allow setting block locations when opening streams
> --------------------------------------------------
>
> Key: HDFS-17593
> URL: https://issues.apache.org/jira/browse/HDFS-17593
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Csaba Ringhofer
> Priority: Major
> Labels: pull-request-available
>
> The HDFS client seems to always get block locations from the namenode when
> opening a file:
> https://github.com/apache/hadoop/blob/4525c7e35ea22d7a6350b8af10eb8d2ff68376e7/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java#L1099
> This leads to unnecessary RPCs in Apache Impala when doing reads, as the
> block locations are cached globally and the executors already have a good
> guess about the block locations when opening a stream. Unless the cached
> block locations are stale ideally no RPC should be made to the namenode.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]