-
Couldn't load subscription status.
- Fork 9.1k
HADOOP-19638. [Addendum] [JDK17] Set Up CI Support JDK17. #8030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1,LGTM @slfan1989
|
💔 -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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Let's keep using it then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Let's keep using it then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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?