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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: fs/swift
    • Labels:
      None
    • Target Version/s:
    • Flags:
      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

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

              Dates

              • Created:
                Updated: