Skip to content

Conversation

@adoroszlai
Copy link
Contributor

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

@adoroszlai adoroszlai self-assigned this Sep 3, 2020
@adoroszlai adoroszlai requested a review from elek September 3, 2020 13:28
Copy link
Contributor

@vivekratnavel vivekratnavel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

Copy link
Member

@elek elek left a 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 "$@"
Copy link
Member

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
Copy link
Member

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.

@elek elek merged commit dc49daa into apache:master Sep 7, 2020
@adoroszlai adoroszlai deleted the HDDS-4198 branch September 9, 2020 00:22
@adoroszlai
Copy link
Contributor Author

Thanks @vivekratnavel for the review, and @elek for reviewing and committing it.

llemec pushed a commit to llemec/hadoop-ozone that referenced this pull request Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants