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

SPNEGO to Web UI fails with headers larger than 4KB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.2.0
    • None
    • security
    • None

    Description

      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.
      """

      Attachments

        1. HADOOP-11502.1.patch
          3 kB
          Stephen Chu

        Issue Links

          Activity

            People

              schu Stephen Chu
              schu Stephen Chu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: