-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-4198. Compile Ozone with multiple Java versions #1387
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
vivekratnavel
left a comment
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
elek
left a comment
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, thanks the patch @adoroszlai
Good to be sure that Ozone can be compiled with JDK 11.
|
|
||
| export MAVEN_OPTS="-Xmx4096m" | ||
| mvn -B -Dmaven.javadoc.skip=true -DskipTests clean install "$@" | ||
| mvn -V -B -Dmaven.javadoc.skip=true -DskipTests clean install "$@" |
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.
-V --> very nice, never used this flag #TIL
| - name: Cache for maven dependencies | ||
| uses: actions/cache@v2 | ||
| with: | ||
| args: ./hadoop-ozone/dev-support/checks/build.sh |
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.
We can consider doing the same with all the other steps.
|
Thanks @vivekratnavel for the review, and @elek for reviewing and committing it. |
What changes were proposed in this pull request?
Compile Ozone with both Java 8 and 11 in CI.
Note: this is based on top of #1386.
https://issues.apache.org/jira/browse/HDDS-4198
How was this patch tested?
https://github.com/adoroszlai/hadoop-ozone/runs/1063860191#step:6:10
https://github.com/adoroszlai/hadoop-ozone/runs/1063860210#step:6:10