HADOOP-19638. [Addendum] [JDK17] Set Up CI Support JDK17.#8030
HADOOP-19638. [Addendum] [JDK17] Set Up CI Support JDK17.#8030slfan1989 merged 3 commits intoapache:trunkfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
@steveloughran Could you please review this PR? Thank you very much! |
|
@Hexiaoqiao Could you please review this PR? Thank you very much! |
szetszwo
left a comment
There was a problem hiding this comment.
@slfan1989 , thanks for working on this! Just have a question inlined.
| 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") |
There was a problem hiding this comment.
Do we need two jdk dirs?
--multijdkdirs=/usr/lib/jvm/java-21-openjdk-amd64,/usr/lib/jvm/java-17-openjdk-amd64
https://yetus.apache.org/documentation/0.15.1/precommit/usage-intro/#multijdk
There was a problem hiding this 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")
There was a problem hiding this comment.
I see. Let's keep using it then.
szetszwo
left a comment
There was a problem hiding this comment.
+1 the change looks good.
| 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") |
There was a problem hiding this comment.
I see. Let's keep using it then.
Hexiaoqiao
left a comment
There was a problem hiding this comment.
LGTM. +1 from my side.
|
@szetszwo @Hexiaoqiao @zhtttylz Thank you very much for reviewing the code! |
Description of PR
JIRA: HADOOP-19638. [Addendum] [JDK17] Set Up CI Support JDK17.
How was this patch tested?
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?