alberttwong opened a new issue, #11841:
URL: https://github.com/apache/hudi/issues/11841

   **Describe the problem you faced**
   
   Compile Hudi 0.15 with Spark 3.5 and Scala 2.13
   
   **To Reproduce**
   
   ```
   [INFO] Reactor Summary for Hudi 0.15.0:
   [INFO]
   [INFO] Hudi ............................................... SUCCESS [  4.249 
s]
   [INFO] hudi-tests-common .................................. SUCCESS [  6.810 
s]
   [INFO] hudi-io ............................................ SUCCESS [ 11.286 
s]
   [INFO] hudi-common ........................................ SUCCESS [ 25.058 
s]
   [INFO] hudi-hadoop-common ................................. SUCCESS [  7.496 
s]
   [INFO] hudi-hadoop-mr ..................................... SKIPPED
   [INFO] hudi-sync-common ................................... SKIPPED
   [INFO] hudi-hive-sync ..................................... SKIPPED
   [INFO] hudi-aws ........................................... SKIPPED
   [INFO] hudi-timeline-service .............................. SKIPPED
   [INFO] hudi-client ........................................ SUCCESS [  1.156 
s]
   [INFO] hudi-client-common ................................. SKIPPED
   [INFO] hudi-spark-client .................................. SKIPPED
   [INFO] hudi-spark-datasource .............................. SUCCESS [  1.155 
s]
   [INFO] hudi-spark-common_2.13 ............................. SKIPPED
   [INFO] hudi-spark3-common ................................. SKIPPED
   [INFO] hudi-spark3.2plus-common ........................... SKIPPED
   [INFO] hudi-spark3.5.x_2.13 ............................... SKIPPED
   [INFO] hudi-java-client ................................... SKIPPED
   [INFO] hudi-spark_2.13 .................................... SKIPPED
   [INFO] hudi-gcp ........................................... SKIPPED
   [INFO] hudi-utilities_2.13 ................................ SKIPPED
   [INFO] hudi-utilities-bundle_2.13 ......................... SKIPPED
   [INFO] hudi-cli ........................................... SKIPPED
   [INFO] hudi-flink-client .................................. SKIPPED
   [INFO] hudi-datahub-sync .................................. SKIPPED
   [INFO] hudi-adb-sync ...................................... SKIPPED
   [INFO] hudi-sync .......................................... SUCCESS [  1.155 
s]
   [INFO] hudi-hadoop-mr-bundle .............................. SKIPPED
   [INFO] hudi-datahub-sync-bundle ........................... SKIPPED
   [INFO] hudi-hive-sync-bundle .............................. SKIPPED
   [INFO] hudi-aws-bundle .................................... SKIPPED
   [INFO] hudi-gcp-bundle .................................... SKIPPED
   [INFO] hudi-spark3.5-bundle_2.13 .......................... SKIPPED
   [INFO] hudi-presto-bundle ................................. SKIPPED
   [INFO] hudi-utilities-slim-bundle_2.13 .................... SKIPPED
   [INFO] hudi-timeline-server-bundle ........................ SKIPPED
   [INFO] hudi-trino-bundle .................................. SKIPPED
   [INFO] hudi-examples ...................................... SUCCESS [  1.155 
s]
   [INFO] hudi-examples-common ............................... SKIPPED
   [INFO] hudi-examples-spark ................................ SKIPPED
   [INFO] hudi-flink-datasource .............................. SUCCESS [  1.153 
s]
   [INFO] hudi-flink1.18.x ................................... FAILURE [  0.921 
s]
   [INFO] hudi-flink ......................................... SKIPPED
   [INFO] hudi-examples-flink ................................ SKIPPED
   [INFO] hudi-examples-java ................................. SKIPPED
   [INFO] hudi-flink1.14.x ................................... FAILURE [  5.347 
s]
   [INFO] hudi-flink1.15.x ................................... FAILURE [  1.079 
s]
   [INFO] hudi-flink1.16.x ................................... FAILURE [  1.077 
s]
   [INFO] hudi-flink1.17.x ................................... FAILURE [  1.077 
s]
   [INFO] hudi-kafka-connect ................................. SKIPPED
   [INFO] hudi-flink1.18-bundle .............................. SKIPPED
   [INFO] hudi-kafka-connect-bundle .......................... SKIPPED
   [INFO] hudi-cli-bundle_2.13 ............................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  56.950 s (Wall Clock)
   [INFO] Finished at: 2024-08-27T09:16:39-07:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce 
(enforce-versions) on project hudi-flink1.18.x: Some Enforcer rules have 
failed. Look above for specific messages explaining why the rule failed. -> 
[Help 1]
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce 
(enforce-versions) on project hudi-flink1.17.x: Some Enforcer rules have 
failed. Look above for specific messages explaining why the rule failed. -> 
[Help 1]
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce 
(enforce-versions) on project hudi-flink1.16.x: Some Enforcer rules have 
failed. Look above for specific messages explaining why the rule failed. -> 
[Help 1]
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M1:enforce 
(enforce-versions) on project hudi-flink1.15.x: Some Enforcer rules have 
failed. Look above for specific messages explaining why the rule failed. -> 
[Help 1]
   [ERROR] Failed to execute goal on project hudi-flink1.14.x: Could not 
resolve dependencies for project org.apache.hudi:hudi-flink1.14.x:jar:0.15.0
   [ERROR] dependency: 
org.apache.flink:flink-table-api-java-bridge_2.13:jar:1.14.5 (provided)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-api-java-bridge_2.13:jar:1.14.5 in Maven Central 
(https://repo.maven.apache.org/maven2)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-api-java-bridge_2.13:jar:1.14.5 in 
cloudera-repo-releases (https://repository.cloudera.com/artifactory/public/)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-api-java-bridge_2.13:jar:1.14.5 in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]      org.apache.flink:flink-table-api-java-bridge_2.13:jar:1.14.5 
was not found in https://repo.maven.apache.org/maven2 during a previous 
attempt. This failure was cached in the local repository and resolution is not 
reattempted until the update interval of central has elapsed or updates are 
forced
   [ERROR] dependency: org.apache.flink:flink-table-runtime_2.13:jar:1.14.5 
(provided)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-runtime_2.13:jar:1.14.5 in Maven Central 
(https://repo.maven.apache.org/maven2)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-runtime_2.13:jar:1.14.5 in cloudera-repo-releases 
(https://repository.cloudera.com/artifactory/public/)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-runtime_2.13:jar:1.14.5 in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]      org.apache.flink:flink-table-runtime_2.13:jar:1.14.5 was not 
found in https://repo.maven.apache.org/maven2 during a previous attempt. This 
failure was cached in the local repository and resolution is not reattempted 
until the update interval of central has elapsed or updates are forced
   [ERROR] dependency: org.apache.flink:flink-streaming-java_2.13:jar:1.14.5 
(provided)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-streaming-java_2.13:jar:1.14.5 in Maven Central 
(https://repo.maven.apache.org/maven2)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-streaming-java_2.13:jar:1.14.5 in cloudera-repo-releases 
(https://repository.cloudera.com/artifactory/public/)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-streaming-java_2.13:jar:1.14.5 in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]      org.apache.flink:flink-streaming-java_2.13:jar:1.14.5 was not 
found in https://repo.maven.apache.org/maven2 during a previous attempt. This 
failure was cached in the local repository and resolution is not reattempted 
until the update interval of central has elapsed or updates are forced
   [ERROR] dependency: org.apache.flink:flink-parquet_2.13:jar:1.14.5 (provided)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-parquet_2.13:jar:1.14.5 in Maven Central 
(https://repo.maven.apache.org/maven2)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-parquet_2.13:jar:1.14.5 in cloudera-repo-releases 
(https://repository.cloudera.com/artifactory/public/)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-parquet_2.13:jar:1.14.5 in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]      org.apache.flink:flink-parquet_2.13:jar:1.14.5 was not found in 
https://repo.maven.apache.org/maven2 during a previous attempt. This failure 
was cached in the local repository and resolution is not reattempted until the 
update interval of central has elapsed or updates are forced
   [ERROR] dependency: org.apache.flink:flink-table-planner_2.13:jar:1.14.5 
(provided)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-planner_2.13:jar:1.14.5 in Maven Central 
(https://repo.maven.apache.org/maven2)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-planner_2.13:jar:1.14.5 in cloudera-repo-releases 
(https://repository.cloudera.com/artifactory/public/)
   [ERROR]      Could not find artifact 
org.apache.flink:flink-table-planner_2.13:jar:1.14.5 in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]      org.apache.flink:flink-table-planner_2.13:jar:1.14.5 was not 
found in https://repo.maven.apache.org/maven2 during a previous attempt. This 
failure was cached in the local repository and resolution is not reattempted 
until the update interval of central has elapsed or updates are forced
   [ERROR]
   [ERROR] -> [Help 2]
   [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/MojoExecutionException
   [ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :hudi-flink1.18.x
   albert@Alberts-MBP hudi % java -version
   openjdk version "1.8.0_412"
   OpenJDK Runtime Environment (Temurin)(build 1.8.0_412-b08)
   OpenJDK 64-Bit Server VM (Temurin)(build 25.412-b08, mixed mode)
   ```
   
   
   Steps to reproduce the behavior:
   
   1. `mvn -T 2C clean package -DskipTests -Dspark3.5 -Dscala-2.13`
   2.
   3.
   4.
   
   **Expected behavior**
   
   A clear and concise description of what you expected to happen.
   
   **Environment Description**
   
   * Hudi version :
   
   * Spark version :
   
   * Hive version :
   
   * Hadoop version :
   
   * Storage (HDFS/S3/GCS..) :
   
   * Running on Docker? (yes/no) :
   
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   
   ```Add the stacktrace of the error.```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to