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)