hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Chu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11502) SPNEGO to Web UI fails with headers larger than 4KB
Date Thu, 22 Jan 2015 01:09:35 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stephen Chu updated HADOOP-11502:
---------------------------------
    Attachment: HADOOP-11502.1.patch

Attaching a patch that increases head buffer size in ssl case to 64kb.

Added a unit test which reproduces the 413 response code without the fix and passes successfully
with the fix.

> SPNEGO to Web UI fails with headers larger than 4KB
> ---------------------------------------------------
>
>                 Key: HADOOP-11502
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11502
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.2.0
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>            Priority: Minor
>         Attachments: HADOOP-11502.1.patch
>
>
> Thanks to [~bgooley] for reporting this:
> """
> When SSL and Kerberos Authentication is enabled for hadoop web GUIs, if the header is
over 4KB in size, the browser shows a blank page.
> Browser dev tools show that a 413 full head error is returned as a response from Jetty.
> It seems that in HADOOP-8816, we only addressed non-ssl ports by setting ret.setHeaderBufferSize(1024*64);
> However, with SSL enabled, we use SslSocketConnector() but don't set the HeaderBufferSize.
I think this is why we are failing at the default Jetty max header buffer size of 4KB.
> """



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message