You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Kai Zheng (JIRA)" <ji...@apache.org> on 2014/07/16 04:37:04 UTC
[jira] [Created] (HADOOP-10848) Cleanup calling of
sun.security.krb5.Config
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:
{code}
new javax.security.auth.kerberos.KerberosPrincipal("dummy").toString().split("@")[1]
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)