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

Configurable header buffer size for Hadoop HTTP server

    XMLWordPrintableJSON

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.

      Attachments

        1. HADOOP-6974.4.patch
          7 kB
          Paul Butler
        2. HADOOP-6974.3.patch
          6 kB
          Paul Butler
        3. hadoop-6974.2.patch
          5 kB
          Paul Butler
        4. hadoop-6974.patch
          4 kB
          Paul Butler

        Activity

          People

            paulbutler Paul Butler
            paulbutler Paul Butler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: