[
https://issues.apache.org/jira/browse/HADOOP-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18049956#comment-18049956
]
ASF GitHub Bot commented on HADOOP-19776:
-----------------------------------------
cnauroth opened a new pull request, #8166:
URL: https://github.com/apache/hadoop/pull/8166
### Description of PR
Pre-commits contain some steps specifically triggered for native code
patches to check cross-platform compatibility. These are still trying to run
with Java 8 targets. (Example: #8151 .) This patch removes these pre-commit
steps for Rocky 8 and Debian 11, which both use Java 8. Instead, we now trigger
these steps for Debian 12, Debian 13 and Ubuntu 24, all of which use Java 17.
From recent commits, it seems these are the OSes we've agreed to target on
trunk/Hadoop 3.5.
### How was this patch tested?
Relying on pre-submit results. I'm temporarily including the native code
change from #8151 to try to trigger it. I won't include that when I commit this.
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> 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
>
> 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]