maheshguptags commented on issue #9744:
URL: https://github.com/apache/hudi/issues/9744#issuecomment-1748517435
@danny0405 I am also getting same error while running `mvn install`
``` stacktrace for same ```
hudi % mvn install
COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/maheshgupta/Documents/GitHub/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#1
of
?,java.util.Map<java.lang.String,java.util.List<org.apache.hudi.common.model.HoodieColumnRangeMetadata<java.lang.Com
parable>>>>)
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
(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]