[
https://issues.apache.org/jira/browse/HDFS-17593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090993#comment-18090993
]
ASF GitHub Bot commented on HDFS-17593:
---------------------------------------
hadoop-yetus commented on PR #8561:
URL: https://github.com/apache/hadoop/pull/8561#issuecomment-4781937862
:broken_heart: **-1 overall**
| Vote | Subsystem | Runtime | Logfile | Comment |
|:----:|----------:|--------:|:--------:|:-------:|
| +0 :ok: | reexec | 0m 39s | | 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 5 new or modified test files. |
|||| _ trunk Compile Tests _ |
| +0 :ok: | mvndep | 2m 5s | | Maven dependency ordering for branch |
| +1 :green_heart: | mvninstall | 47m 14s | | trunk passed |
| +1 :green_heart: | compile | 7m 25s | | trunk passed with JDK Red
Hat, Inc.-21.0.11+10-LTS |
| +1 :green_heart: | compile | 7m 45s | | trunk passed with JDK Red
Hat, Inc.-17.0.19+10-LTS |
| +1 :green_heart: | checkstyle | 3m 20s | | trunk passed |
| +1 :green_heart: | mvnsite | 7m 19s | | trunk passed |
| +1 :green_heart: | javadoc | 6m 8s | | trunk passed with JDK Red
Hat, Inc.-21.0.11+10-LTS |
| +1 :green_heart: | javadoc | 6m 7s | | trunk passed with JDK Red
Hat, Inc.-17.0.19+10-LTS |
| +0 :ok: | spotbugs | 1m 42s | |
branch/hadoop-hdfs-project/hadoop-hdfs-native-client no spotbugs output file
(spotbugsXml.xml) |
| +1 :green_heart: | shadedclient | 34m 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 :green_heart: | mvninstall | 7m 3s | | the patch passed |
| +1 :green_heart: | compile | 5m 49s | | the patch passed with JDK
Red Hat, Inc.-21.0.11+10-LTS |
| +1 :green_heart: | cc | 5m 49s | | the patch passed |
| +1 :green_heart: | golang | 5m 49s | | the patch passed |
| +1 :green_heart: | javac | 5m 49s | | the patch passed |
| +1 :green_heart: | compile | 6m 8s | | the patch passed with JDK
Red Hat, Inc.-17.0.19+10-LTS |
| +1 :green_heart: | cc | 6m 8s | | the patch passed |
| +1 :green_heart: | golang | 6m 8s | | the patch passed |
| +1 :green_heart: | javac | 6m 8s | | the patch passed |
| +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks
issues. |
| +1 :green_heart: | checkstyle | 1m 57s | | the patch passed |
| +1 :green_heart: | mvnsite | 3m 36s | | the patch passed |
| +1 :green_heart: | javadoc | 2m 43s | | 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 35s | |
hadoop-hdfs-project/hadoop-hdfs-native-client has no data from spotbugs |
| +1 :green_heart: | shadedclient | 28m 41s | | patch has no errors
when building and testing our client artifacts. |
|||| _ Other Tests _ |
| +1 :green_heart: | unit | 3m 5s | | hadoop-hdfs-client in the patch
passed. |
| -1 :x: | unit | 222m 51s |
[/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/2/artifact/out/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt)
| hadoop-hdfs in the patch passed. |
| +1 :green_heart: | unit | 10m 27s | | hadoop-hdfs-native-client in
the patch passed. |
| +1 :green_heart: | asflicense | 1m 22s | | The patch does not
generate ASF License warnings. |
| | | 445m 22s | | |
| Reason | Tests |
|-------:|:------|
| Failed junit tests |
hadoop.hdfs.server.datanode.fsdataset.impl.TestFsVolumeList |
| Subsystem | Report/Notes |
|----------:|:-------------|
| Docker | ClientAPI=1.55 ServerAPI=1.55 base:
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-8561/2/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 96dfc956859d 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 / c515dc94ecdfbfb46b055d7b00e61858df3909a4 |
| 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/2/testReport/ |
| Max. process+thread count | 3932 (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/2/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]