Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12208

Wrong token in the authentication header when there is re-authentication request

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • None
    • fs/swift
    • None
    • Patch, Important

    Description

      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.

      Attachments

        1. token-header-fix-0001.patch
          1.0 kB
          Gil Vernik

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gvernik Gil Vernik
            gvernik Gil Vernik

            Dates

              Created:
              Updated:

              Slack

                Issue deployment