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

Hadoop auth does not handle HTTP Headers in a case-insensitive way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.4.0
    • auth
    • Reviewed

    Description

      According to RFC-2616 HTTP Headers are case-insensitive. There are proxies / load balancers (e.g.: newer versions of HA-proxy) which deliberately make some of the HTTP headers lower-case results in an authentication / authorization failure inside the Hadoop codebase.

      I've created a small patch (I'm from Cloudera): [^hadoop-auth-headers.patch]. This resolves our authentication issue. Can someone please have a look at this?

      Attachments

        1. HADOOP-18120.patch
          5 kB
          Daniel Fritsi
        2. HADOOP-18120-002.patch
          15 kB
          Daniel Fritsi
        3. HADOOP-18120-003.patch
          15 kB
          Daniel Fritsi

        Issue Links

          Activity

            People

              jmakai János Makai
              fritsi Daniel Fritsi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m