[ 
https://issues.apache.org/jira/browse/HADOOP-19638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030122#comment-18030122
 ] 

ASF GitHub Bot commented on HADOOP-19638:
-----------------------------------------

slfan1989 commented on code in PR #8030:
URL: https://github.com/apache/hadoop/pull/8030#discussion_r2433097240


##########
dev-support/jenkins.sh:
##########
@@ -124,8 +124,9 @@ function run_ci() {
     YETUS_ARGS+=("--mvn-custom-repos")
     YETUS_ARGS+=("--dockermemlimit=22g")
 
-    # test with Java 17
-    YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-17-openjdk-amd64")
+    # test with Java 17 & Java 21
+    YETUS_ARGS+=("--java-home=/usr/lib/jvm/java-17-openjdk-amd64")
+    YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-21-openjdk-amd64")

Review Comment:
   Thank you very much for helping with the review! Since I’m not yet very 
familiar with Yetus, the current configuration was created by referring to and 
simulating the original JDK 8 and JDK 11 configurations.  
   
   ```
   # test with Java 8 and 11
   YETUS_ARGS+=("--java-home=/usr/lib/jvm/java-8-openjdk-amd64")
   YETUS_ARGS+=("--multijdkdirs=/usr/lib/jvm/java-11-openjdk-amd64")
   YETUS_ARGS+=("--multijdktests=compile")
   ```





> [JDK17] Set Up CI Support JDK17
> -------------------------------
>
>                 Key: HADOOP-19638
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19638
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Shilun Fan
>            Assignee: Shilun Fan
>            Priority: Major
>              Labels: pull-request-available
>
> Plan to establish a new build pipeline using JDK 17 for Apache Hadoop, as 
> part of the ongoing effort to upgrade the project’s Java compatibility. This 
> pipeline will serve as the foundation for testing and validating future JDK 
> 17 support and ensuring smooth integration with existing CI/CD processes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to