You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/06/01 18:09:17 UTC

[jira] [Commented] (SLIDER-894) AgentWebPagesIT fails with AuthenticationException in secure clusters

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

Steve Loughran commented on SLIDER-894:
---------------------------------------

Slightly out of date (0.80) stack
{code}
Test set: org.apache.slider.funtest.lifecycle.AgentWebPagesIT
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 104.476 sec <<< FAILURE! - in org.apache.slider.funtest.lifecycle.AgentWebPagesIT
testAgentWeb(org.apache.slider.funtest.lifecycle.AgentWebPagesIT)  Time elapsed: 100.523 sec  <<< ERROR!
java.io.IOException: From http://local:1025: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, status: 400, message: Bad Request
        at org.apache.slider.core.restclient.UrlConnectionOperations.execHttpOperation(UrlConnectionOperations.java:215)
        at org.apache.slider.core.restclient.UrlConnectionOperations.execGet(UrlConnectionOperations.java:158)
        at org.apache.slider.test.SliderTestUtils.executeGet(SliderTestUtils.groovy:680)
        at org.apache.slider.test.SliderTestUtils.getWebPage(SliderTestUtils.groovy:670)
        at org.apache.slider.test.SliderTestUtils.getWebPage(SliderTestUtils.groovy)
        at org.apache.slider.agent.rest.LowLevelRestTestDelegates.testCodahaleOperations(LowLevelRestTestDelegates.groovy:65)
        at org.apache.slider.agent.rest.LowLevelRestTestDelegates.testSuiteGetOperations(LowLevelRestTestDelegates.groovy:321)
        at org.apache.slider.agent.rest.AbstractRestTestDelegate.testSuiteAll(AbstractRestTestDelegate.groovy:43)
        at org.apache.slider.funtest.lifecycle.AgentWebPagesIT.testAgentWeb(AgentWebPagesIT.groovy:125)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        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.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
        at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
Caused by: org.apache.hadoop.security.authentication.client.AuthenticationException: Authentication failed, status: 400, message: Bad Request
        at org.apache.hadoop.security.authentication.client.AuthenticatedURL.extractToken(AuthenticatedURL.java:274)
        at org.apache.hadoop.security.authentication.client.PseudoAuthenticator.authenticate(PseudoAuthenticator.java:77)
        at org.apache.hadoop.security.authentication.client.KerberosAuthenticator.authenticate(KerberosAuthenticator.java:214)
        at org.apache.hadoop.security.authentication.client.AuthenticatedURL.openConnection(AuthenticatedURL.java:215)
        at org.apache.hadoop.hdfs.web.URLConnectionFactory.openConnection(URLConnectionFactory.java:161)
        at org.apache.slider.core.restclient.UrlConnectionOperations.innerOpenConnection(UrlConnectionOperations.java:152)
        at org.apache.slider.core.restclient.UrlConnectionOperations.openConnection(UrlConnectionOperations.java:92)
        at org.apache.slider.core.restclient.UrlConnectionOperations.execHttpOperation(UrlConnectionOperations.java:178)
        ... 20 more
{code}

> AgentWebPagesIT fails with AuthenticationException in secure clusters
> ---------------------------------------------------------------------
>
>                 Key: SLIDER-894
>                 URL: https://issues.apache.org/jira/browse/SLIDER-894
>             Project: Slider
>          Issue Type: Bug
>          Components: Web & REST
>    Affects Versions: Slider 0.81
>         Environment: Java 8
>            Reporter: Steve Loughran
>            Assignee: Jonathan Maron
>
> seeing a test failure in a secure cluster



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)