You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2018/06/02 17:41:01 UTC

[jira] [Updated] (HADOOP-12208) Wrong token in the authentication header when there is re-authentication request

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

Steve Loughran updated HADOOP-12208:
------------------------------------
    Target Version/s: 2.7.8  (was: 2.7.7)

> Wrong token in the authentication header when there is re-authentication request
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-12208
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12208
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/swift
>    Affects Versions: 2.6.0
>            Reporter: Gil Vernik
>            Assignee: Gil Vernik
>            Priority: Major
>         Attachments: token-header-fix-0001.patch
>
>
> When authentication token expires, Swift returns 401. In this case the exec method from SwiftRestClient catches this exception and performs another authentication request to renew the token. If authentication successful, exec method retry original request. However, the bug is that retry still uses old token in a header and doesn't update it with a new one.



--
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