[
https://issues.apache.org/jira/browse/HADOOP-18120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Fritsi updated HADOOP-18120:
-----------------------------------
Description:
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?
was:
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]
> Hadoop auth does not handle HTTP Header 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
> 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: [email protected]
For additional commands, e-mail: [email protected]