Uploaded image for project: 'Hadoop Distributed Data Store'
  1. Hadoop Distributed Data Store
  2. HDDS-811

[JDK 11] Fix compilation failures with jdk 11

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.3.0
    • Component/s: None
    • Labels:
      None

      Description

      This Jira aims to fix the compilation failures with jdk 11. The compilation failure occurs in hadoop-hdds and hadoop-ozone module.

      [ERROR] /Users/ljain/codebase/apache/hadoop/hadoop-hdds/common/target/generated-sources/java/org/apache/hadoop/hdds/protocol/datanode/proto/XceiverClientProtocolServiceGrpc.java:[20,18] cannot find symbol
       symbol: class Generated
       location: package javax.annotation
      [ERROR] /Users/ljain/codebase/apache/hadoop/hadoop-hdds/common/target/generated-sources/java/org/apache/hadoop/hdds/protocol/datanode/proto/IntraDatanodeProtocolServiceGrpc.java:[20,18] cannot find symbol
       symbol: class Generated
       location: package javax.annotation
      [ERROR] /Users/ljain/codebase/apache/hadoop/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/commontypes/BucketMetadata.java:[20,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/ljain/codebase/apache/hadoop/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/commontypes/BucketMetadata.java:[21,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/ljain/codebase/apache/hadoop/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/commontypes/BucketMetadata.java:[22,33] package javax.xml.bind.annotation does not exist
      [ERROR] /Users/ljain/codebase/apache/hadoop/hadoop-ozone/s3gateway/src/main/java/org/apache/hadoop/ozone/s3/commontypes/BucketMetadata.java:[23,42] package javax.xml.bind.annotation.adapters does not exist
      

        Attachments

        1. HADOOP-15906.001.patch
          1 kB
          Lokesh Jain

          Issue Links

            Activity

              People

              • Assignee:
                ljain Lokesh Jain
                Reporter:
                ljain Lokesh Jain
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: