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

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

    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

          People

            gvernik Gil Vernik
            gvernik Gil Vernik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: