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

   **Describe the problem you faced**
   
   Trying to complie Hudi 0.15 with Scala 2.11.  Why?  To solve issue 
`Exception in thread "main" java.lang.NoSuchMethodError: 
scala.Function1.$init$(Lscala/Function1;)V` in 
https://github.com/apache/hudi/issues/11797
   
   **To Reproduce**
   
   ```
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Hudi 0.15.0:
   [INFO]
   [INFO] Hudi ............................................... SUCCESS [  3.134 
s]
   [INFO] hudi-tests-common .................................. SUCCESS [  5.287 
s]
   [INFO] hudi-io ............................................ SUCCESS [ 10.228 
s]
   [INFO] hudi-common ........................................ FAILURE [  2.697 
s]
   [INFO] hudi-hadoop-common ................................. SKIPPED
   [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 ........................................ SKIPPED
   [INFO] hudi-client-common ................................. SKIPPED
   [INFO] hudi-spark-client .................................. SKIPPED
   [INFO] hudi-spark-datasource .............................. SKIPPED
   [INFO] hudi-spark-common_2.11 ............................. SKIPPED
   [INFO] hudi-java-client ................................... SKIPPED
   [INFO] hudi-spark_2.11 .................................... SKIPPED
   [INFO] hudi-gcp ........................................... SKIPPED
   [INFO] hudi-utilities_2.11 ................................ SKIPPED
   [INFO] hudi-utilities-bundle_2.11 ......................... SKIPPED
   [INFO] hudi-cli ........................................... SKIPPED
   [INFO] hudi-flink-client .................................. SKIPPED
   [INFO] hudi-datahub-sync .................................. SKIPPED
   [INFO] hudi-adb-sync ...................................... SKIPPED
   [INFO] hudi-sync .......................................... SKIPPED
   [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-spark-bundle_2.11 ............................. SKIPPED
   [INFO] hudi-presto-bundle ................................. SKIPPED
   [INFO] hudi-utilities-slim-bundle_2.11 .................... SKIPPED
   [INFO] hudi-timeline-server-bundle ........................ SKIPPED
   [INFO] hudi-trino-bundle .................................. SKIPPED
   [INFO] hudi-examples ...................................... SKIPPED
   [INFO] hudi-examples-common ............................... SKIPPED
   [INFO] hudi-examples-spark ................................ SKIPPED
   [INFO] hudi-flink-datasource .............................. SKIPPED
   [INFO] hudi-flink1.18.x ................................... SKIPPED
   [INFO] hudi-flink ......................................... SKIPPED
   [INFO] hudi-examples-flink ................................ SKIPPED
   [INFO] hudi-examples-java ................................. SKIPPED
   [INFO] hudi-flink1.14.x ................................... SKIPPED
   [INFO] hudi-flink1.15.x ................................... SKIPPED
   [INFO] hudi-flink1.16.x ................................... SKIPPED
   [INFO] hudi-flink1.17.x ................................... SKIPPED
   [INFO] hudi-kafka-connect ................................. SKIPPED
   [INFO] hudi-flink1.18-bundle .............................. SKIPPED
   [INFO] hudi-kafka-connect-bundle .......................... SKIPPED
   [INFO] hudi-cli-bundle_2.11 ............................... SKIPPED
   [INFO] hudi-hadoop-docker ................................. SKIPPED
   [INFO] hudi-hadoop-base-docker ............................ SKIPPED
   [INFO] hudi-hadoop-base-java11-docker ..................... SKIPPED
   [INFO] hudi-hadoop-namenode-docker ........................ SKIPPED
   [INFO] hudi-hadoop-datanode-docker ........................ SKIPPED
   [INFO] hudi-hadoop-history-docker ......................... SKIPPED
   [INFO] hudi-hadoop-hive-docker ............................ SKIPPED
   [INFO] hudi-hadoop-sparkbase-docker ....................... SKIPPED
   [INFO] hudi-hadoop-sparkmaster-docker ..................... SKIPPED
   [INFO] hudi-hadoop-sparkworker-docker ..................... SKIPPED
   [INFO] hudi-hadoop-sparkadhoc-docker ...................... SKIPPED
   [INFO] hudi-hadoop-presto-docker .......................... SKIPPED
   [INFO] hudi-hadoop-trinobase-docker ....................... SKIPPED
   [INFO] hudi-hadoop-trinocoordinator-docker ................ SKIPPED
   [INFO] hudi-hadoop-trinoworker-docker ..................... SKIPPED
   [INFO] hudi-integ-test .................................... SKIPPED
   [INFO] hudi-integ-test-bundle ............................. SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  23.741 s
   [INFO] Finished at: 2024-08-26T15:20:05-07:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal on project hudi-common: Could not resolve 
dependencies for project org.apache.hudi:hudi-common:jar:0.15.0
   [ERROR] dependency: 
org.apache.spark:spark-streaming-kafka-0-10_2.11:jar:3.5.1 (test)
   [ERROR]      Could not find artifact 
org.apache.spark:spark-streaming-kafka-0-10_2.11:jar:3.5.1 in Maven Central 
(https://repo.maven.apache.org/maven2)
   [ERROR]      Could not find artifact 
org.apache.spark:spark-streaming-kafka-0-10_2.11:jar:3.5.1 in 
cloudera-repo-releases (https://repository.cloudera.com/artifactory/public/)
   [ERROR]      Could not find artifact 
org.apache.spark:spark-streaming-kafka-0-10_2.11:jar:3.5.1 in confluent 
(https://packages.confluent.io/maven/)
   [ERROR]      org.apache.spark:spark-streaming-kafka-0-10_2.11:jar:3.5.1 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
   ```
   
   Steps to reproduce the behavior:
   
   1. `mvn clean package -Pintegration-tests -DskipTests -Dscala-2.11`
   2.
   3.
   4.
   
   **Expected behavior**
   
   Be able to find spark-streaming-kafka-0-10_2.11
   
   **Environment Description**
   
   * Hudi version : 0.15
   
   * 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