Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17730

[thirdparty] Do not exclude error_prone

    XMLWordPrintableJSON

    Details

      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

            Activity

              People

              • Assignee:
                weichiu Wei-Chiu Chuang
                Reporter:
                weichiu Wei-Chiu Chuang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: