[ https://issues.apache.org/jira/browse/HDFS-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979054#comment-13979054 ]
Hudson commented on HDFS-6217: ------------------------------ SUCCESS: Integrated in Hadoop-trunk-Commit #5556 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5556/]) 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)