Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11123 Fix Java 9 incompatibilies in Hadoop
  3. HADOOP-15895

[JDK9+] Add missing javax.annotation-api dependency to hadoop-yarn-csi

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • build
    • None

    Description

      Javadoc build fails in hadoop-yarn-csi due to missing javax.annotation.

      $ mvn javadoc:javadoc --projects hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi
      ...
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:jar (module-javadocs) on project hadoop-yarn-csi: MavenReportException: Error while generating Javadoc:
      [ERROR] Exit code: 1 - /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/generated-sources/protobuf/grpc-java/csi/v0/IdentityGrpc.java:20: error: cannot find symbol
      [ERROR] @javax.annotation.Generated(
      [ERROR]                  ^
      [ERROR]   symbol:   class Generated
      [ERROR]   location: package javax.annotation
      [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/generated-sources/protobuf/grpc-java/csi/v0/ControllerGrpc.java:20: error: cannot find symbol
      [ERROR] @javax.annotation.Generated(
      [ERROR]                  ^
      [ERROR]   symbol:   class Generated
      [ERROR]   location: package javax.annotation
      [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-csi/target/generated-sources/protobuf/grpc-java/csi/v0/NodeGrpc.java:20: error: cannot find symbol
      [ERROR] @javax.annotation.Generated(
      [ERROR]                  ^
      [ERROR]   symbol:   class Generated
      [ERROR]   location: package javax.annotation
      [ERROR]
      [ERROR] Command line was: /usr/java/jdk-9.0.4/bin/javadoc @options @packages
      

      Attachments

        1. HADOOP-15895.1.patch
          1 kB
          Takanobu Asanuma

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tasanuma Takanobu Asanuma
            tasanuma Takanobu Asanuma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment