Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
-
None
Description
I'm seeing this error message when using Java 8u25 on OS X:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hadoop-hdfs: Compilation failure [ERROR] /Users/rchiang/Work/Dev/APHadoop01/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/common/blockaliasmap/impl/TestInMemoryLevelDBAliasMapClient.java:[335,9] no suitable method found for collect(java.util.stream.Collector<java.lang.Object,capture#1 of ?,java.util.List<java.lang.Object>>) [ERROR] method java.util.stream.Stream.<R>collect(java.util.function.Supplier<R>,java.util.function.BiConsumer<R,? super capture#2 of ?>,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 capture#2 of ?,A,R>) is not applicable [ERROR] (cannot infer type-variable(s) R,A,capture#3 of ?,T [ERROR] (argument mismatch; java.util.stream.Collector<capture#2 of ?,capture#4 of ?,java.util.List<capture#2 of ?>> cannot be converted to java.util.stream.Collector<? super capture#2 of ?,capture#4 of ?,java.util.List<capture#2 of ?>>))
This seems to work with Java 8u65.