Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5851

TestContainerManagerSecurity testContainerManager[1] failed

    Details

      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)

        Attachments

          Activity

            People

            • Assignee:
              haibochen Haibo Chen
              Reporter:
              haibochen Haibo Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: