Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
Reviewed
Description
-------------------------------------------------------------------------------
Test set: org.apache.hadoop.yarn.server.TestContainerManagerSecurity
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 21.727 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.TestContainerManagerSecurity
testContainerManager[1](org.apache.hadoop.yarn.server.TestContainerManagerSecurity) Time elapsed: 0.005 sec <<< ERROR!
java.lang.IllegalArgumentException: Can't get Kerberos realm
at sun.security.krb5.Config.getDefaultRealm(Config.java:1029)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:88)
at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:63)
at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:291)
at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:337)
at org.apache.hadoop.yarn.server.TestContainerManagerSecurity.<init>(TestContainerManagerSecurity.java:151)