hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15280) TestKMS.testWebHDFSProxyUserKerb and TestKMS.testWebHDFSProxyUserSimple fail in trunk
Date Thu, 08 Mar 2018 06:38:00 GMT

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

Xiao Chen commented on HADOOP-15280:
------------------------------------

Thanks for working on this issue [~bharatviswa].

I agree we should change the test. But instead of changing it to validate the wrapper message,
we should still validate the original message ("Forbidden") instead of the wrapper message.
Otherwise it defeats the purpose of the assertion.

Maybe we can add a utility method into GenericTestUtils so this can be reused.

> TestKMS.testWebHDFSProxyUserKerb and TestKMS.testWebHDFSProxyUserSimple fail in trunk
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15280
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15280
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>            Reporter: Ray Chiang
>            Assignee: Bharat Viswanadham
>            Priority: Major
>         Attachments: HADOOP-15280.00.patch
>
>
> I'm seeing these messages on OS X and on Linux.
> {noformat}
> [ERROR] Failures:
> [ERROR] TestKMS.testWebHDFSProxyUserKerb:2526->doWebHDFSProxyUserTest:2625->runServer:158->runServer:176
org.apache.hadoop.security.authentication.client.AuthenticationException: Error while authenticating
with endpoint: http://localhost:56112/kms/v1/keys?doAs=foo1
> [ERROR] TestKMS.testWebHDFSProxyUserSimple:2531->doWebHDFSProxyUserTest:2625->runServer:158->runServer:176
org.apache.hadoop.security.authentication.client.AuthenticationException: Error while authenticating
with endpoint: http://localhost:56206/kms/v1/keys?doAs=foo1 
> {noformat}
> as well as a [recent PreCommit-HADOOP-Build job|https://builds.apache.org/job/PreCommit-HADOOP-Build/14235/].



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message