You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2022/02/16 05:44:00 UTC

[jira] [Commented] (HADOOP-18120) Hadoop auth does not handle HTTP Headers in a case-insensitive way

    [ https://issues.apache.org/jira/browse/HADOOP-18120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17493013#comment-17493013 ] 

Wei-Chiu Chuang commented on HADOOP-18120:
------------------------------------------

It would be nice to add a test to it.

> Hadoop auth does not handle HTTP Headers in a case-insensitive way
> ------------------------------------------------------------------
>
>                 Key: HADOOP-18120
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18120
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: auth
>            Reporter: Daniel Fritsi
>            Assignee: Daniel Fritsi
>            Priority: Critical
>         Attachments: hadoop-auth-headers.patch
>
>
> According to [RFC-2616|https://www.ietf.org/rfc/rfc2616.txt] 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?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org