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 Thu, 24 Apr 2014 13:32:42 GMT

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

Hudson commented on HDFS-6217:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1767 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1767/])
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
(v6.2#6252)

Mime
View raw message