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

Cleanup calling of sun.security.krb5.Config

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None

      Description

      As was told by Max (Oracle), JDK9 is likely to block all accesses to sun.* classes.

      In ./hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/util/KerberosUtil.java,

      sun.security.krb5.Config is called against the method getDefaultRealm() to get default Kerberos realm. It was proposed to remove the call by Oracle:

      new javax.security.auth.kerberos.KerberosPrincipal("dummy").toString().split("@")[1]
      

        Attachments

        1. HADOOP-10848.001.patch
          3 kB
          Akira Ajisaka
        2. HADOOP-10848.002.patch
          4 kB
          Akira Ajisaka
        3. HADOOP-10848.003.patch
          5 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                drankye Kai Zheng
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: