You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "guoquan (JIRA)" <ji...@apache.org> on 2015/03/18 06:14:43 UTC

[jira] [Updated] (SENTRY-615) [Unit Test] Fix TestSentryWebServerWithKerberos#testPingWithUnauthorizedUser failed in Jenkins occasionally

     [ https://issues.apache.org/jira/browse/SENTRY-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

guoquan updated SENTRY-615:
---------------------------
    Fix Version/s: 1.5.0

> [Unit Test] Fix TestSentryWebServerWithKerberos#testPingWithUnauthorizedUser failed in Jenkins occasionally
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-615
>                 URL: https://issues.apache.org/jira/browse/SENTRY-615
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>             Fix For: 1.5.0
>
>         Attachments: SENTRY-615.001.patch, SENTRY-615.002.patch
>
>
> Since we use {{KerberosAuthenticator}} to test Sentry Web Authorization, it didn't handle the status code {{403}}, so it may throw Exception in two parts:[KerberosAuthenticator | https://github.com/apache/hadoop/blob/f71eb51ab8109c14e8e921751dd5de603bdf2bde/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java#L345] and [AuthenticatedURL |https://github.com/apache/hadoop/blob/f71eb51ab8109c14e8e921751dd5de603bdf2bde/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/AuthenticatedURL.java#L274], currently we only handle {{AuthenticatedURL}}, {{KerberosAuthenticator }} should also be considered



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