lgb861213 opened a new issue, #10808:
URL: https://github.com/apache/hudi/issues/10808
when I use the following command mvn clean package -DskipTests -Dscala-2.12
-Dspark3.5 -Dflink1.15.1 to build, but it give me the following error:
[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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-spark-common_${scala.binary.version}:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-spark_${scala.binary.version}:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-utilities_${scala.binary.version}:0.14.0,
/home/ec2-user/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}:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-spark${sparkbundle.version}-bundle_${scala.binary.version}:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-utilities-bundle_${scala.binary.version}:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-utilities-slim-bundle_${scala.binary.version}:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-flink${flink.bundle.version}-bundle:0.14.0,
/home/ec2-user/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:0.14.0
[WARNING] 'artifactId' contains an expression but should be a constant. @
org.apache.hudi:hudi-cli-bundle_${scala.binary.version}:0.14.0,
/home/ec2-user/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 0.14.0
[1/49]
[INFO] --------------------------------[ pom
]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hudi ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @
hudi ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-logging) @ hudi
---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ hudi
---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ hudi ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (default) @ hudi ---
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ hudi ---
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @
hudi ---
[INFO] No site descriptor found: nothing to attach.
[INFO]
[INFO] -----------------< org.apache.hudi:hudi-tests-common
>------------------
[INFO] Building hudi-tests-common 0.14.0
[2/49]
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @
hudi-tests-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @
hudi-tests-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-logging) @
hudi-tests-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @
hudi-tests-common ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ hudi-tests-common ---
[INFO]
[INFO] --- maven-resources-plugin: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] --- maven-compiler-plugin:3.8.0:compile (default-compile) @
hudi-tests-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.0:check (default) @ hudi-tests-common
---
[INFO]
[INFO] --- apache-rat-plugin: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] 21 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] --- maven-resources-plugin:3.1.0:testResources
(default-testResources) @ hudi-tests-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/ec2-user/hudi/hudi-tests-common/src/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @
hudi-tests-common ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @
hudi-tests-common ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ hudi-tests-common ---
[INFO] Building jar:
/home/ec2-user/hudi/hudi-tests-common/target/hudi-tests-common-0.14.0.jar
[INFO]
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @
hudi-tests-common ---
[INFO] Building jar:
/home/ec2-user/hudi/hudi-tests-common/target/hudi-tests-common-0.14.0-sources.jar
[INFO]
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @
hudi-tests-common ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO]
[INFO] --------------------< org.apache.hudi:hudi-common
>---------------------
[INFO] Building hudi-common 0.14.0
[3/49]
[INFO] --------------------------------[ jar
]---------------------------------
[WARNING] The artifact junit:junit-dep:jar:4.11-beta-1 has been relocated to
junit:junit:jar:4.11-beta-1: The artifact junit:junit does not contain Hamcrest
anymore but declares a dependency to Hamcrest. Thus, junit:junit-dep has become
obsolete.
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hudi-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-maven-version) @
hudi-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-logging) @
hudi-common ---
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @
hudi-common ---
[INFO]
[INFO] --- avro-maven-plugin:1.8.2:schema (default) @ hudi-common ---
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCommitMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCompactionStrategy.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCompactionOperation.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieSavePointMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCompactionMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCleanPartitionMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCleanMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieCleanerPlan.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieInstantInfo.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieRollbackMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieRestoreMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieReplaceCommitMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodiePath.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieFSPermission.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieFileStatus.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieBootstrapIndexInfo.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieSliceInfo.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieClusteringGroup.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieClusteringStrategy.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieClusteringPlan.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieRequestedReplaceMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieIndexPartitionInfo.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieIndexPlan.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieIndexCommitMetadata.avsc
[INFO] Importing File:
/home/ec2-user/hudi/hudi-common/src/main/avro/HoodieArchivedMetaEntry.avsc
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ hudi-common ---
[INFO]
[INFO] --- maven-resources-plugin: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] --- maven-compiler-plugin:3.8.0:compile (default-compile) @
hudi-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 524 source files to
/home/ec2-user/hudi/hudi-common/target/classes
[INFO]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieHFileConfig.java:
Some input files use or override a deprecated API.
[INFO]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/io/storage/HoodieHFileConfig.java:
Recompile with -Xlint:deprecation for details.
[INFO]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewStorageConfig.java:
/home/ec2-user/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]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/view/FileSystemViewStorageConfig.java:
Recompile with -Xlint:removal for details.
[INFO]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/log/AbstractHoodieLogRecordReader.java:
Some input files use unchecked or unsafe operations.
[INFO]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/common/table/log/AbstractHoodieLogRecordReader.java:
Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:[247,9]
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,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,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]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java:[339,11]
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,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#2
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>))
[INFO] 2 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary for Hudi 0.14.0:
[INFO]
[INFO] Hudi ............................................... SUCCESS [ 2.720
s]
[INFO] hudi-tests-common .................................. SUCCESS [ 2.608
s]
[INFO] hudi-common ........................................ FAILURE [ 17.537
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: 23.734 s
[INFO] Finished at: 2024-03-04T08:46:32Z
[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]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/metadata/HoodieTableMetadataUtil.java:[247,9]
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,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,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]
/home/ec2-user/hudi/hudi-common/src/main/java/org/apache/hudi/common/util/ParquetUtils.java:[339,11]
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,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#2
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] -> [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
How can I to fix it. the jdk version that is 17, and the maven version that
is 3.8.4
--
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]