Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16361

TestSecureLogins#testValidKerberosName fails on branch-2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0, 2.9.2, 2.8.5
    • 2.10.1
    • security
    • None

    Description

      This test is failing in branch-2.

      [ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 26.917 s <<< FAILURE! - in org.apache.hadoop.registry.secure.TestSecureLogins
      [ERROR] testValidKerberosName(org.apache.hadoop.registry.secure.TestSecureLogins)  Time elapsed: 0.007 s  <<< ERROR!
      org.apache.hadoop.security.authentication.util.KerberosName$NoMatchingRule: No rules applied to zookeeper/localhost
      	at org.apache.hadoop.security.authentication.util.KerberosName.getShortName(KerberosName.java:401)
      	at org.apache.hadoop.registry.secure.TestSecureLogins.testValidKerberosName(TestSecureLogins.java:182)
      	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:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
      

      Attachments

        1. HADOOP-16361-branch-2.10.001.patch
          1 kB
          Jim Brennan
        2. HADOOP-16361-branch-2.10.002.patch
          2 kB
          Jim Brennan

        Activity

          People

            jbrennan Jim Brennan
            jbrennan Jim Brennan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: