Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
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
Attachments
Issue Links
- is depended upon by
-
SOLR-10199 Solr's Kerberos functionality does not work in Java9 due to dependency on hadoop's AuthenticationFilter which attempt access to JVM protected classes
- Closed
- is duplicated by
-
HDDS-1838 Fix illegal reflective access warning in KerberosUtil
- Resolved
- is related to
-
SPARK-24417 Build and Run Spark on JDK11
- Resolved
-
HADOOP-16935 Backport HADOOP-10848. Cleanup calling of sun.security.krb5.Config to branch-3.2
- Resolved
-
HADOOP-10847 Remove the usage of sun.security.x509.* in testing code
- Closed
- relates to
-
HBASE-25058 Export necessary modules when running under JDK11
- Resolved
-
HADOOP-15338 Java 11 runtime support
- Resolved