hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6217) Webhdfs PUT operations may not work via a http proxy
Date Fri, 25 Apr 2014 13:40:43 GMT

    [ https://issues.apache.org/jira/browse/HDFS-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13981011#comment-13981011

Hudson commented on HDFS-6217:

FAILURE: Integrated in Hadoop-Hdfs-trunk #1742 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1742/])
HDFS-6217. Webhdfs PUT operations may not work via a http proxy. Contributed by Daryn Sharp.
(kihwal: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1589528)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsContentLength.java

> Webhdfs PUT operations may not work via a http proxy
> ----------------------------------------------------
>                 Key: HDFS-6217
>                 URL: https://issues.apache.org/jira/browse/HDFS-6217
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: webhdfs
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 3.0.0, 2.5.0
>         Attachments: HDFS-6217.patch
> Most of webhdfs's PUT operations have no message body.  The HTTP/1.1 spec is fuzzy in
how PUT requests with no body should be handled.  If the request does not specify chunking
or Content-Length, the server _may_ consider the request to have no body.  However, popular
proxies such as Apache Traffic Server will reject PUT requests with no body unless Content-Length:
0 is specified.

This message was sent by Atlassian JIRA

View raw message