[ 
https://issues.apache.org/jira/browse/HADOOP-17730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shilun Fan updated HADOOP-17730:
--------------------------------
    Component/s: hadoop-thirdparty

> [thirdparty] Do not exclude error_prone
> ---------------------------------------
>
>                 Key: HADOOP-17730
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17730
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: hadoop-thirdparty
>    Affects Versions: 3.3.1, thirdparty-1.1.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: thirdparty-1.2.0, thirdparty-1.1.1
>
>
> 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.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to