Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15338 Java 11 runtime support
  3. HADOOP-16046

[JDK 11] Correct the compiler exclusion of org/apache/hadoop/yarn/webapp/hamlet/** classes for >= Java 9

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: build
    • Labels:
      None

      Description

      I see that YARN-8123 handled it but still see that this fails with "mvn compile".

      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/hamlet/HamletSpec.java:[306,20] as of release 9, '_' is a keyword, and may not be used as an identifier
      ...............
      
      [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/webapp/hamlet/TestHamlet.java:[40,24] as of release 9, '_' is a keyword, and may not be used as an identifier
      

        Attachments

        1. HADOOP-16046.patch
          0.9 kB
          Devaraj Kavali

          Issue Links

            Activity

              People

              • Assignee:
                devaraj Devaraj Kavali
                Reporter:
                devaraj Devaraj Kavali
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: