Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3.1, thirdparty-1.1.0
Description
Building Ozone on Hadoop 3.3.1-RC1, found the following error during compilation:
18:40:02 2021/05/24 10:40:02 INFO : [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project hadoop-hdds-common: Compilation failure 18:40:02 2021/05/24 10:40:02 INFO : [ERROR] cannot access org.apache.hadoop.thirdparty.com.google.errorprone.annotations.CanIgnoreReturnValue 18:40:02 2021/05/24 10:40:02 INFO : [ERROR] class file for org.apache.hadoop.thirdparty.com.google.errorprone.annotations.CanIgnoreReturnValue not found 18:40:02 2021/05/24 10:40:02 INFO : [ERROR] Consult the following stack trace for details. 18:40:02 2021/05/24 10:40:02 INFO : [ERROR] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.apache.hadoop.thirdparty.com.google.errorprone.annotations.CanIgnoreReturnValue not found 18:40:02 2021/05/24 10:40:02 INFO : [ERROR] -> [Help 1]
The error_prone was excluded by YARN-10195 to avoid dependency divergence with YARN Timeline service. However, now that Hadoop's guava is shaded, we shouldn't have problem with diverging dependencies. So let's add it back.
Attachments
Issue Links
- is related to
-
YARN-10195 Dependency divergence building Timeline Service on HBase 2.2.0 and above
- Resolved
- relates to
-
HADOOP-17733 Release hadoop-thirdparty 1.1.1
- Resolved
- links to