[ 
https://issues.apache.org/jira/browse/HADOOP-15959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724860#comment-16724860
 ] 

Steve Loughran commented on HADOOP-15959:
-----------------------------------------

Full stack from that test failure (which looks like my code, BTW)

Its a failure saying that 
{code}
new HadoopKerberosName("zookeeper/localhost").getShortName();
{code}

does not resolve any more as there's no default rule here.
What to do? I think I'll actually take that test out as its not in the right 
place anyway, its something I probably stuck in to try and understand what's 
going on on. It doesn't mean that there's no problem here, it's just that a 
default policy is needed.

regarding this JIRA, we need to add a release note stating what has changed, 
and what to do.


{code}
[INFO] Running org.apache.hadoop.registry.secure.TestSecureLogins
[ERROR] Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.041 
s <<< FAILURE! - in org.apache.hadoop.registry.secure.TestSecureLogins
[ERROR] 
testValidKerberosName(org.apache.hadoop.registry.secure.TestSecureLogins)  Time 
elapsed: 0.005 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:203)
        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:50)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        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.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
        at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.lang.Thread.run(Thread.java:745)
{code}

> revert HADOOP-12751
> -------------------
>
>                 Key: HADOOP-15959
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15959
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 3.2.0, 3.1.1, 2.9.2, 3.0.3, 2.7.7, 2.8.5
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 3.2.0, 2.7.8, 3.0.4, 3.1.2, 2.8.6, 2.9.3
>
>         Attachments: HADOOP-15959-001.patch, HADOOP-15959-branch-2-002.patch, 
> HADOOP-15959-branch-2.7-003.patch
>
>
> HADOOP-12751 doesn't quite work right. Revert.
> (this patch is so jenkins can do the test runs)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to