Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11007

Webserver should not log errors when handling HTTP HEAD

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.1.0
    • None
    • None
    • ghx-label-8

    Description

      If you send a HEAD request to Impala's webserver, for example

      curl -I http://localhost:25000/metrics
      

      then the logs will contain scary messages:

      I1025 10:39:52.337021 3578299 webserver.cc:591] Webserver: error reading: Connection reset by peer
      

      This does not happen with

      curl http://localhost:25000/metrics
      

      Fix this by making the Impala webserver not send any content in replies to a HEAD message

      Attachments

        Activity

          People

            asherman Andrew Sherman
            asherman Andrew Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: