[ https://issues.apache.org/jira/browse/HADOOP-16361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084316#comment-17084316 ]
Jim Brennan commented on HADOOP-16361: -------------------------------------- Thanks for the review [~eyang]! I will add the negative test case. > TestSecureLogins#testValidKerberosName fails on branch-2 > -------------------------------------------------------- > > Key: HADOOP-16361 > URL: https://issues.apache.org/jira/browse/HADOOP-16361 > Project: Hadoop Common > Issue Type: Bug > Components: security > Affects Versions: 2.10.0, 2.9.2, 2.8.5 > Reporter: Jim Brennan > Assignee: Jim Brennan > Priority: Major > Attachments: HADOOP-16361-branch-2.10.001.patch > > > This test is failing in branch-2. > {noformat} > [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) > {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org