Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-13773

Webhdfs should not send HTTP 100 response when Expect header not in request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • webhdfs
    • None
    • Patch

    Description

      when using nginx as a reverse proxy, files cannot be successfully uploaded to HDFS via webhdfs api.  Nginx will remove "Expect: 100 continue" header from PUT/POST request, however, webhdfs will always response with HTTP 100 continue without checking the request header, this behavior misleads nginx to stop uploading the remaining data once it receives the repsonse.

      Attachments

        1. HDFS-13773.patch
          2 kB
          Aonan Zhai

        Activity

          People

            Unassigned Unassigned
            azzzzz Aonan Zhai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: