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

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: webhdfs
    • Labels:
      None
    • Target Version/s:
    • Flags:
      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

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

              Dates

              • Created:
                Updated: