Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4576 Webhdfs authentication issues
  3. HDFS-4564

Webhdfs returns incorrect http response codes for denied operations

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.4.0
    • Component/s: webhdfs
    • Labels:
      None
    • Target Version/s:

      Description

      Webhdfs is returning 401 (Unauthorized) instead of 403 (Forbidden) when it's denying operations. Examples including rejecting invalid proxy user attempts and renew/cancel with an invalid user.

        Attachments

        1. HDFS-4564.branch-23.patch
          11 kB
          Daryn Sharp
        2. HDFS-4564.branch-23.patch
          4 kB
          Daryn Sharp
        3. HDFS-4564.patch
          6 kB
          Daryn Sharp
        4. HDFS-4564.branch-23.patch
          5 kB
          Daryn Sharp
        5. HDFS-4564.patch
          6 kB
          Daryn Sharp

          Issue Links

            Activity

              People

              • Assignee:
                daryn Daryn Sharp
                Reporter:
                daryn Daryn Sharp
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: