[
https://issues.apache.org/jira/browse/HADOOP-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18050931#comment-18050931
]
ASF GitHub Bot commented on HADOOP-19776:
-----------------------------------------
cnauroth commented on PR #8166:
URL: https://github.com/apache/hadoop/pull/8166#issuecomment-3730500927
jenkins.sh overrides the Yetus `--java-home` to a path with a `-amd64`
suffix, which doesn't exist in the Rocky image. Then it ends up defaulting back
to Java 8. I might have to fake this with symlinks.
```
[2026-01-09T18:38:26.880Z] WARNING:
JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 does not exist. Dockermode:
attempting to switch to another.
[2026-01-09T18:38:26.880Z] WARNING: Setting
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.472.b08-1.el8.x86_64 as the JAVA_HOME.
```
> trunk pre-commits for native code still try to use Java 8
> ---------------------------------------------------------
>
> Key: HADOOP-19776
> URL: https://issues.apache.org/jira/browse/HADOOP-19776
> Project: Hadoop Common
> Issue Type: Bug
> Components: precommit
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Major
> Labels: pull-request-available
>
> Even after HADOOP-19773, there are still some precommits trying to use Java 8:
> https://github.com/apache/hadoop/pull/8151#issuecomment-3711644942
> The reason is that the Jenkins pipeline has some optional steps for checking
> cross-platform compatibility on native code patches, and these are still
> using old Java 8 targets.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]