Wei-Chiu Chuang created HADOOP-17730: ----------------------------------------
Summary: [thirdparty] Do not exclude error_prone Key: HADOOP-17730 URL: https://issues.apache.org/jira/browse/HADOOP-17730 Project: Hadoop Common Issue Type: Bug Affects Versions: 1.1.0 Reporter: Wei-Chiu Chuang Building Ozone on Hadoop 3.3.1-RC1, found the following error during compilation: {noformat} 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] {noformat} 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org