[
https://issues.apache.org/jira/browse/HUDI-1672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
sivabalan narayanan resolved HUDI-1672.
---------------------------------------
Fix Version/s: 0.8.0
Resolution: Fixed
> packaging fails w/ scala 12 (due to flink)
> ------------------------------------------
>
> Key: HUDI-1672
> URL: https://issues.apache.org/jira/browse/HUDI-1672
> Project: Apache Hudi
> Issue Type: Bug
> Components: Common Core
> Affects Versions: 0.8.0
> Reporter: sivabalan narayanan
> Assignee: vinoyang
> Priority: Major
> Labels: sev:critical, user-support-issues
> Fix For: 0.8.0
>
>
> mvn clean package -DskipTests -Dspark3 -Dscala-2.12
> .
> .
> [*INFO*]
> /Users/sivabala/Documents/personal/projects/siva_hudi/hudi_march2021/hudi/hudi-flink/src/main/java/org/apache/hudi/util/AvroSchemaConverter.java:
> Some input files use or override a deprecated API.
> [*INFO*]
> /Users/sivabala/Documents/personal/projects/siva_hudi/hudi_march2021/hudi/hudi-flink/src/main/java/org/apache/hudi/util/AvroSchemaConverter.java:
> Recompile with -Xlint:deprecation for details.
> [*INFO*]
> /Users/sivabala/Documents/personal/projects/siva_hudi/hudi_march2021/hudi/hudi-flink/src/main/java/org/apache/hudi/operator/StreamWriteOperatorFactory.java:
> Some input files use unchecked or unsafe operations.
> [*INFO*]
> /Users/sivabala/Documents/personal/projects/siva_hudi/hudi_march2021/hudi/hudi-flink/src/main/java/org/apache/hudi/operator/StreamWriteOperatorFactory.java:
> Recompile with -Xlint:unchecked for details.
> [*INFO*] -------------------------------------------------------------
> [*ERROR*] COMPILATION ERROR :
> [*INFO*] -------------------------------------------------------------
> [*ERROR*]
> /Users/sivabala/Documents/personal/projects/siva_hudi/hudi_march2021/hudi/hudi-flink/src/main/java/org/apache/hudi/util/StreamerUtil.java:[334,32]
> package HoodieTableType does not exist
> [*INFO*] 1 error
> [*INFO*] -------------------------------------------------------------
> [*INFO*]
> *------------------------------------------------------------------------*
> [*INFO*] *Reactor Summary for Hudi 0.8.0-SNAPSHOT:*
> [*INFO*]
> [*INFO*] Hudi ............................................... *SUCCESS* [
> 2.736 s]
> [*INFO*] hudi-common ........................................ *SUCCESS* [
> 38.206 s]
> [*INFO*] hudi-timeline-service .............................. *SUCCESS* [
> 2.579 s]
> [*INFO*] hudi-client ........................................ *SUCCESS* [
> 0.083 s]
> [*INFO*] hudi-client-common ................................. *SUCCESS* [
> 10.578 s]
> [*INFO*] hudi-hadoop-mr ..................................... *SUCCESS* [
> 6.155 s]
> [*INFO*] hudi-spark-client .................................. *SUCCESS* [
> 18.130 s]
> [*INFO*] hudi-sync-common ................................... *SUCCESS* [
> 0.549 s]
> [*INFO*] hudi-hive-sync ..................................... *SUCCESS* [
> 3.376 s]
> [*INFO*] hudi-spark-datasource .............................. *SUCCESS* [
> 0.077 s]
> [*INFO*] hudi-spark-common .................................. *SUCCESS* [
> 10.523 s]
> [*INFO*] hudi-spark2_2.12 ................................... *SUCCESS* [
> 9.411 s]
> [*INFO*] hudi-spark3_2.12 ................................... *SUCCESS* [
> 12.286 s]
> [*INFO*] hudi-spark_2.12 .................................... *SUCCESS* [
> 40.109 s]
> [*INFO*] hudi-utilities_2.12 ................................ *SUCCESS* [
> 7.229 s]
> [*INFO*] hudi-utilities-bundle_2.12 ......................... *SUCCESS* [
> 36.710 s]
> [*INFO*] hudi-cli ........................................... *SUCCESS* [
> 13.804 s]
> [*INFO*] hudi-java-client ................................... *SUCCESS* [
> 1.869 s]
> [*INFO*] hudi-flink-client .................................. *SUCCESS* [
> 7.289 s]
> [*INFO*] hudi-dla-sync ...................................... *SUCCESS* [
> 1.627 s]
> [*INFO*] hudi-sync .......................................... *SUCCESS* [
> 0.058 s]
> [*INFO*] hudi-hadoop-mr-bundle .............................. *SUCCESS* [
> 4.328 s]
> [*INFO*] hudi-hive-sync-bundle .............................. *SUCCESS* [
> 1.307 s]
> [*INFO*] hudi-spark-bundle_2.12 ............................. *SUCCESS* [
> 8.829 s]
> [*INFO*] hudi-presto-bundle ................................. *SUCCESS* [
> 12.235 s]
> [*INFO*] hudi-timeline-server-bundle ........................ *SUCCESS* [
> 4.582 s]
> [*INFO*] hudi-hadoop-docker ................................. *SUCCESS* [
> 0.543 s]
> [*INFO*] hudi-hadoop-base-docker ............................ *SUCCESS* [
> 0.080 s]
> [*INFO*] hudi-hadoop-namenode-docker ........................ *SUCCESS* [
> 0.071 s]
> [*INFO*] hudi-hadoop-datanode-docker ........................ *SUCCESS* [
> 0.072 s]
> [*INFO*] hudi-hadoop-history-docker ......................... *SUCCESS* [
> 0.071 s]
> [*INFO*] hudi-hadoop-hive-docker ............................ *SUCCESS* [
> 0.549 s]
> [*INFO*] hudi-hadoop-sparkbase-docker ....................... *SUCCESS* [
> 0.085 s]
> [*INFO*] hudi-hadoop-sparkmaster-docker ..................... *SUCCESS* [
> 0.088 s]
> [*INFO*] hudi-hadoop-sparkworker-docker ..................... *SUCCESS* [
> 0.086 s]
> [*INFO*] hudi-hadoop-sparkadhoc-docker ...................... *SUCCESS* [
> 0.079 s]
> [*INFO*] hudi-hadoop-presto-docker .......................... *SUCCESS* [
> 0.157 s]
> [*INFO*] hudi-integ-test .................................... *SUCCESS* [
> 4.856 s]
> [*INFO*] hudi-integ-test-bundle ............................. *SUCCESS* [
> 56.108 s]
> [*INFO*] hudi-examples ...................................... *SUCCESS* [
> 6.024 s]
> [*INFO*] hudi-flink_2.12 .................................... *FAILURE* [
> 1.874 s]
> [*INFO*] hudi-flink-bundle_2.12 ............................. *SKIPPED*
> [*INFO*]
> *------------------------------------------------------------------------*
> [*INFO*] *BUILD FAILURE*
> [*INFO*]
> *------------------------------------------------------------------------*
> [*INFO*] Total time: 05:26 min
> [*INFO*] Finished at: 2021-03-06T07:48:00-05:00
> [*INFO*]
> *------------------------------------------------------------------------*
> [*ERROR*] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
> *(default-compile)* on project hudi-flink_2.12: *Compilation failure*
> [*ERROR*]
> */Users/sivabala/Documents/personal/projects/siva_hudi/hudi_march2021/hudi/hudi-flink/src/main/java/org/apache/hudi/util/StreamerUtil.java:[334,32]
> package HoodieTableType does not exist*
> [*ERROR*]
> [*ERROR*] -> *[Help 1]*
> [*ERROR*]
> [*ERROR*] To see the full stack trace of the errors, re-run Maven with the
> *-e* switch.
> [*ERROR*] Re-run Maven using the *-X* switch to enable full debug logging.
> [*ERROR*]
> [*ERROR*] For more information about the errors and possible solutions,
> please read the following articles:
> [*ERROR*] *[Help 1]*
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [*ERROR*]
> [*ERROR*] After correcting the problems, you can resume the build with the
> command
> [*ERROR*] *mvn <goals> -rf :hudi-flink_2.12*
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)