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

Cleanup calling of sun.security.krb5.Config

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • 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

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                drankye Kai Zheng
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: