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

[JDK 11] Compilation failure: package com.sun.jndi.ldap is not visible

    XMLWordPrintableJSON

    Details

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

      Description

      With JDK 11: Compilation failed because package com.sun.jndi.ldap is not visible.

       

      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project hadoop-common: Compilation failure
      /C:/Users/umgangum/Work/hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/LdapGroupsMapping.java:[545,23] package com.sun.jndi.ldap is not visible
       (package com.sun.jndi.ldap is declared in module java.naming, which does not export it)

       

       

        Attachments

        1. HADOOP-15941.1.patch
          4 kB
          Takanobu Asanuma
        2. HADOOP-15941.2.patch
          3 kB
          Takanobu Asanuma
        3. HADOOP-15941-addendum.1.patch
          0.5 kB
          Takanobu Asanuma
        4. HADOOP-15941-addendum.2.patch
          1 kB
          Takanobu Asanuma

          Issue Links

            Activity

              People

              • Assignee:
                tasanuma Takanobu Asanuma
                Reporter:
                umamaheswararao Uma Maheswara Rao G
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: