maheshguptags commented on issue #9744:
URL: https://github.com/apache/hudi/issues/9744#issuecomment-1779268725
@ad1happy2go even after changing the java version, getting same error...
```
maheshgupta@MaheshGuptas-MacBook-Pro hudi % java -version
openjdk version "1.8.0_292"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.292-b10, mixed mode)
maheshgupta@MaheshGuptas-MacBook-Pro hudi % mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-spark-common_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-spark-common_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/hudi-spark-datasource/hudi-spark-common/pom.xml,
line 24, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-spark_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-spark_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/hudi-spark-datasource/hudi-spark/pom.xml,
line 26, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-utilities_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-utilities_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/hudi-utilities/pom.xml, line 26,
column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.apache.httpcomponents:httpcore:jar -> version
${aws.sdk.httpcore.version} vs (?) @
org.apache.hudi:hudi-utilities_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/hudi-utilities/pom.xml, line 373,
column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-spark-bundle_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-spark${sparkbundle.version}-bundle_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/packaging/hudi-spark-bundle/pom.xml,
line 26, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-utilities-bundle_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-utilities-bundle_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/packaging/hudi-utilities-bundle/pom.xml,
line 26, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-utilities-slim-bundle_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-utilities-slim-bundle_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/packaging/hudi-utilities-slim-bundle/pom.xml,
line 26, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-flink1.17-bundle:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-flink${flink.bundle.version}-bundle:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/packaging/hudi-flink-bundle/pom.xml,
line 28, column 15
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.apache.hudi:hudi-cli-bundle_2.12:jar:1.0.0-SNAPSHOT
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-cli-bundle_${scala.binary.version}:1.0.0-SNAPSHOT,
/Users/maheshgupta/Documents/GitHub/hudi/packaging/hudi-cli-bundle/pom.xml,
line 26, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Hudi
[pom]
[INFO] hudi-tests-common
[jar]
[INFO] hudi-common
[jar]
[INFO] hudi-hadoop-mr
[jar]
[INFO] hudi-sync-common
[jar]
[INFO] hudi-hive-sync
[jar]
[INFO] hudi-aws
[jar]
[INFO] hudi-timeline-service
[jar]
[INFO] hudi-client
[pom]
[INFO] hudi-client-common
[jar]
[INFO] hudi-spark-client
[jar]
[INFO] hudi-java-client
[jar]
[INFO] hudi-spark-datasource
[pom]
[INFO] hudi-spark_2.12
[jar]
[INFO] hudi-gcp
[jar]
[INFO] hudi-utilities_2.12
[jar]
[INFO] hudi-utilities-bundle_2.12
[jar]
[INFO] hudi-cli
[jar]
[INFO] hudi-flink-client
[jar]
[INFO] hudi-spark-common_2.12
[jar]
[INFO] hudi-datahub-sync
[jar]
[INFO] hudi-adb-sync
[jar]
[INFO] hudi-sync
[pom]
[INFO] hudi-hadoop-mr-bundle
[jar]
[INFO] hudi-datahub-sync-bundle
[jar]
[INFO] hudi-hive-sync-bundle
[jar]
[INFO] hudi-aws-bundle
[jar]
[INFO] hudi-gcp-bundle
[jar]
[INFO] hudi-spark-bundle_2.12
[jar]
[INFO] hudi-presto-bundle
[jar]
[INFO] hudi-utilities-slim-bundle_2.12
[jar]
[INFO] hudi-timeline-server-bundle
[jar]
[INFO] hudi-trino-bundle
[jar]
[INFO] hudi-examples
[pom]
[INFO] hudi-examples-common
[jar]
[INFO] hudi-examples-spark
[jar]
[INFO] hudi-flink-datasource
[pom]
[INFO] hudi-flink1.17.x
[jar]
[INFO] hudi-flink
[jar]
[INFO] hudi-examples-flink
[jar]
[INFO] hudi-examples-java
[jar]
[INFO] hudi-flink1.13.x
[jar]
[INFO] hudi-flink1.14.x
[jar]
[INFO] hudi-flink1.15.x
[jar]
[INFO] hudi-flink1.16.x
[jar]
[INFO] hudi-kafka-connect
[jar]
[INFO] hudi-flink1.17-bundle
[jar]
[INFO] hudi-kafka-connect-bundle
[jar]
[INFO] hudi-cli-bundle_2.12
[jar]
[INFO]
[INFO] ------------------------< org.apache.hudi:hudi
>------------------------
[INFO] Building Hudi 1.0.0-SNAPSHOT
[1/49]
[INFO] from pom.xml
[INFO] --------------------------------[ pom
]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ hudi ---
[INFO] Deleting /Users/maheshgupta/Documents/GitHub/hudi/target
[INFO]
[INFO] --- enforcer:3.0.0-M1:enforce (enforce-maven-version) @ hudi ---
[INFO]
[INFO] --- enforcer:3.0.0-M1:enforce (enforce-logging) @ hudi ---
[INFO]
[INFO] --- remote-resources:1.5:process (process-resource-bundles) @ hudi ---
[INFO]
[INFO] --- checkstyle:3.1.0:check (default) @ hudi ---
[INFO]
[INFO] --- source:2.2.1:jar-no-fork (attach-sources) @ hudi ---
[INFO]
[INFO] --- site:3.7.1:attach-descriptor (attach-descriptor) @ hudi ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ hudi ---
[INFO] Installing /Users/maheshgupta/Documents/GitHub/hudi/pom.xml to
/Users/maheshgupta/.m2/repository/org/apache/hudi/hudi/1.0.0-SNAPSHOT/hudi-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] -----------------< org.apache.hudi:hudi-tests-common
>------------------
[INFO] Building hudi-tests-common 1.0.0-SNAPSHOT
[2/49]
[INFO] from hudi-tests-common/pom.xml
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ hudi-tests-common ---
[INFO] Deleting
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/target
[INFO]
[INFO] --- enforcer:3.0.0-M1:enforce (enforce-maven-version) @
hudi-tests-common ---
[INFO]
[INFO] --- enforcer:3.0.0-M1:enforce (enforce-logging) @ hudi-tests-common
---
[INFO]
[INFO] --- remote-resources:1.5:process (process-resource-bundles) @
hudi-tests-common ---
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ hudi-tests-common
---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- compiler:3.8.0:compile (default-compile) @ hudi-tests-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- checkstyle:3.1.0:check (default) @ hudi-tests-common ---
[INFO]
[INFO] --- apache-rat:0.13:check (default) @ hudi-tests-common ---
[INFO] Added 1 additional default licenses.
[INFO] Enabled default license matchers.
[INFO] Added 1 custom approved licenses.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 62 implicit excludes (use -debug for more details).
[INFO] 22 explicit excludes (use -debug for more details).
[INFO] 4 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0,
generated: 0, approved: 4 licenses.
[INFO]
[INFO] --- resources:3.1.0:testResources (default-testResources) @
hudi-tests-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- compiler:3.8.0:testCompile (default-testCompile) @
hudi-tests-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- surefire:2.22.2:test (default-test) @ hudi-tests-common ---
[INFO]
[INFO] --- jar:3.2.0:jar (default-jar) @ hudi-tests-common ---
[INFO] Building jar:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/target/hudi-tests-common-1.0.0-SNAPSHOT.jar
[INFO]
[INFO] --- source:2.2.1:jar-no-fork (attach-sources) @ hudi-tests-common ---
[INFO] Building jar:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/target/hudi-tests-common-1.0.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- site:3.7.1:attach-descriptor (attach-descriptor) @
hudi-tests-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --- install:2.5.2:install (default-install) @ hudi-tests-common ---
[INFO] Installing
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/target/hudi-tests-common-1.0.0-SNAPSHOT.jar
to
/Users/maheshgupta/.m2/repository/org/apache/hudi/hudi-tests-common/1.0.0-SNAPSHOT/hudi-tests-common-1.0.0-SNAPSHOT.jar
[INFO] Installing
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/pom.xml to
/Users/maheshgupta/.m2/repository/org/apache/hudi/hudi-tests-common/1.0.0-SNAPSHOT/hudi-tests-common-1.0.0-SNAPSHOT.pom
[INFO] Installing
/Users/maheshgupta/Documents/GitHub/hudi/hudi-tests-common/target/hudi-tests-common-1.0.0-SNAPSHOT-sources.jar
to
/Users/maheshgupta/.m2/repository/org/apache/hudi/hudi-tests-common/1.0.0-SNAPSHOT/hudi-tests-common-1.0.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --------------------< org.apache.hudi:hudi-common
>---------------------
[INFO] Building hudi-common 1.0.0-SNAPSHOT
[3/49]
[INFO] from hudi-common/pom.xml
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- clean:3.1.0:clean (default-clean) @ hudi-common ---
[INFO] Deleting /Users/maheshgupta/Documents/GitHub/hudi/hudi-common/target
[INFO]
[INFO] --- enforcer:3.0.0-M1:enforce (enforce-maven-version) @ hudi-common
---
[INFO]
[INFO] --- enforcer:3.0.0-M1:enforce (enforce-logging) @ hudi-common ---
[INFO]
[INFO] --- avro:1.8.2:schema (default) @ hudi-common ---
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCommitMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCompactionStrategy.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCompactionOperation.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieSavePointMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCompactionMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCleanPartitionMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCleanMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieCleanerPlan.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieInstantInfo.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieRestoreMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieReplaceCommitMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodiePath.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieFSPermission.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieFileStatus.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieBootstrapIndexInfo.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieSliceInfo.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieClusteringGroup.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieClusteringStrategy.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieClusteringPlan.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieRequestedReplaceMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieIndexPartitionInfo.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieIndexPlan.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieIndexCommitMetadata.avsc
[INFO] Importing File:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/avro/HoodieArchivedMetaEntry.avsc
[INFO]
[INFO] --- remote-resources:1.5:process (process-resource-bundles) @
hudi-common ---
[INFO]
[INFO] --- resources:3.1.0:resources (default-resources) @ hudi-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- compiler:3.8.0:compile (default-compile) @ hudi-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 565 source files to
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/target/classes
[INFO]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieAvroHFileWriter.java:
Some input files use or override a deprecated API.
[INFO]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieAvroHFileWriter.java:
Recompile with -Xlint:deprecation for details.
[INFO]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewStorageConfig.java:
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewStorageConfig.java
uses or overrides a deprecated API that is marked for removal.
[INFO]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewStorageConfig.java:
Recompile with -Xlint:removal for details.
[INFO]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/util/collection/Pair.java:
Some input files use unchecked or unsafe operations.
[INFO]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/util/collection/Pair.java:
Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java:[346,11]
no suitable method found for
collect(java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#1
of
?,java.util.Map<java.lang.String,java.util.List<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>>)
method
java.util.stream.Stream.<R>collect(java.util.function.Supplier<R>,java.util.function.BiConsumer<R,?
super
org.apache.hudi.common.model.HoodieColumnRangeMetadata>,java.util.function.BiConsumer<R,R>)
is not applicable
(cannot infer type-variable(s) R
(actual and formal argument lists differ in length))
method java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<?
super org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>) is not
applicable
(cannot infer type-variable(s) R,A
(argument mismatch;
java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#1
of
?,java.util.Map<java.lang.String,java.util.List<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>>
cannot be converted to java.util.stream.Collector<? super
org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>))
[ERROR]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:[261,9]
no suitable method found for
collect(java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#2
of
?,java.util.Map<java.lang.String,org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>)
method
java.util.stream.Stream.<R>collect(java.util.function.Supplier<R>,java.util.function.BiConsumer<R,?
super
org.apache.hudi.common.model.HoodieColumnRangeMetadata>,java.util.function.BiConsumer<R,R>)
is not applicable
(cannot infer type-variable(s) R
(actual and formal argument lists differ in length))
method java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<?
super org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>) is not
applicable
(cannot infer type-variable(s) R,A
(argument mismatch;
java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#2
of
?,java.util.Map<java.lang.String,org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>
cannot be converted to java.util.stream.Collector<? super
org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>))
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Hudi 1.0.0-SNAPSHOT:
[INFO]
[INFO] Hudi ............................................... SUCCESS [ 5.273
s]
[INFO] hudi-tests-common .................................. SUCCESS [ 13.103
s]
[INFO] hudi-common ........................................ FAILURE [ 26.283
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 ........................................ SKIPPED
[INFO] hudi-client-common ................................. SKIPPED
[INFO] hudi-spark-client .................................. SKIPPED
[INFO] hudi-java-client ................................... SKIPPED
[INFO] hudi-spark-datasource .............................. SKIPPED
[INFO] hudi-spark_2.12 .................................... SKIPPED
[INFO] hudi-gcp ........................................... SKIPPED
[INFO] hudi-utilities_2.12 ................................ SKIPPED
[INFO] hudi-utilities-bundle_2.12 ......................... SKIPPED
[INFO] hudi-cli ........................................... SKIPPED
[INFO] hudi-flink-client .................................. SKIPPED
[INFO] hudi-spark-common_2.12 ............................. 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.12 ............................. SKIPPED
[INFO] hudi-presto-bundle ................................. SKIPPED
[INFO] hudi-utilities-slim-bundle_2.12 .................... 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.17.x ................................... SKIPPED
[INFO] hudi-flink ......................................... SKIPPED
[INFO] hudi-examples-flink ................................ SKIPPED
[INFO] hudi-examples-java ................................. SKIPPED
[INFO] hudi-flink1.13.x ................................... SKIPPED
[INFO] hudi-flink1.14.x ................................... SKIPPED
[INFO] hudi-flink1.15.x ................................... SKIPPED
[INFO] hudi-flink1.16.x ................................... SKIPPED
[INFO] hudi-kafka-connect ................................. SKIPPED
[INFO] hudi-flink1.17-bundle .............................. SKIPPED
[INFO] hudi-kafka-connect-bundle .......................... SKIPPED
[INFO] hudi-cli-bundle_2.12 ............................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 45.967 s
[INFO] Finished at: 2023-10-25T18:50:25+05:30
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile)
on project hudi-common: Compilation failure: Compilation failure:
[ERROR]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java:[346,11]
no suitable method found for
collect(java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#1
of
?,java.util.Map<java.lang.String,java.util.List<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>>)
[ERROR] method
java.util.stream.Stream.<R>collect(java.util.function.Supplier<R>,java.util.function.BiConsumer<R,?
super
org.apache.hudi.common.model.HoodieColumnRangeMetadata>,java.util.function.BiConsumer<R,R>)
is not applicable
[ERROR] (cannot infer type-variable(s) R
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method
java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<? super
org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>) is not applicable
[ERROR] (cannot infer type-variable(s) R,A
[ERROR] (argument mismatch;
java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#1
of
?,java.util.Map<java.lang.String,java.util.List<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>>
cannot be converted to java.util.stream.Collector<? super
org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>))
[ERROR]
/Users/maheshgupta/Documents/GitHub/hudi/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:[261,9]
no suitable method found for
collect(java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#2
of
?,java.util.Map<java.lang.String,org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>)
[ERROR] method
java.util.stream.Stream.<R>collect(java.util.function.Supplier<R>,java.util.function.BiConsumer<R,?
super
org.apache.hudi.common.model.HoodieColumnRangeMetadata>,java.util.function.BiConsumer<R,R>)
is not applicable
[ERROR] (cannot infer type-variable(s) R
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method
java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<? super
org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>) is not applicable
[ERROR] (cannot infer type-variable(s) R,A
[ERROR] (argument mismatch;
java.util.stream.Collector<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>,capture#2
of
?,java.util.Map<java.lang.String,org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Comparable>>>
cannot be converted to java.util.stream.Collector<? super
org.apache.hudi.common.model.HoodieColumnRangeMetadata,A,R>))
[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 <args> -rf :hudi-common
```
--
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]