Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Adds a configuration option dfs.http.header.buffer.size which is passed to jetty as the size of the buffer to use for HTTP headers. The TestHttpServer unit test is updated to test the configuration option.
Description
This patch adds a configurable parameter dfs.http.header.buffer.size to Hadoop which allows the buffer size to be configured from the xml configuration.
This fixes an issue that came up in an environment where the Hadoop servers share a domain with other web applications that use domain cookies. The large cookies overwhelmed Jetty's buffer which caused it to return a 413 error.