hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Zheng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-10848) Cleanup calling of sun.security.krb5.Config
Date Wed, 16 Jul 2014 02:37:04 GMT
Kai Zheng created HADOOP-10848:

             Summary: Cleanup calling of sun.security.krb5.Config
                 Key: HADOOP-10848
                 URL: https://issues.apache.org/jira/browse/HADOOP-10848
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Kai Zheng
            Priority: Minor

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]

This message was sent by Atlassian JIRA

View raw message