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 "Gil Vernik (JIRA)" <ji...@apache.org> on 2015/07/08 21:21:04 UTC

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

Gil Vernik created HADOOP-12208:
-----------------------------------

             Summary: 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
             Fix For: 2.7.2


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
(v6.3.4#6332)