Details
-
Improvement
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
Description
I saw several issues while building Hudi w/ Java 11:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar (default) on project hudi-common: Execution default of goal org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-jar-plugin:2.6:test-jar: java.lang.ExceptionInInitializerError: null[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.1:shade (default) on project hudi-hadoop-mr-bundle: Error creating shaded jar: Problem shading JAR /workspace/workspace/rchertar.bigtop.hudi-rpm-mainline-6.x-0.9.0/build/hudi/rpm/BUILD/hudi-0.9.0-amzn-1-SNAPSHOT/packaging/hudi-hadoop-mr-bundle/target/hudi-hadoop-mr-bundle-0.9.0-amzn-1-SNAPSHOT.jar entry org/apache/hudi/hadoop/bundle/Main.class: java.lang.IllegalArgumentException -> [Help 1]
We need to upgrade maven plugin versions to make it be compatible with Java 11.
Also upgrade dockerfile-maven-plugin to latest versions to support Java 11 https://github.com/spotify/dockerfile-maven/pull/230
Attachments
Issue Links
- is a child of
-
HUDI-2669 Upgrade Java toolset/runtime to JDK11
- Closed
- links to