[ https://issues.apache.org/jira/browse/HDFS-2869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206185#comment-13206185 ]
Hudson commented on HDFS-2869: ------------------------------ Integrated in Hadoop-Hdfs-trunk-Commit #1791 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1791/]) HDFS-2869. Fix an error in the webhdfs docs for the mkdir op (harsh) harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1243104 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/docs/src/documentation/content/xdocs/webhdfs.xml > Error in Webhdfs documentation for mkdir > ---------------------------------------- > > Key: HDFS-2869 > URL: https://issues.apache.org/jira/browse/HDFS-2869 > Project: Hadoop HDFS > Issue Type: Bug > Components: documentation > Affects Versions: 0.23.1, 1.0.0 > Reporter: Harsh J > Assignee: Harsh J > Priority: Minor > Fix For: 0.24.0, 1.1.0, 0.23.2 > > Attachments: HDFS-2869-branch-1.patch, HDFS-2869.patch > > > Reported over the lists by user Stuti Awasthi: > {quote} > I have tried the webhdfs functionality of Hadoop-1.0.0 and it is working fine. > Just a small change is required in the documentation : > Make a Directory declaration in documentation: > curl -i -X PUT "http://<HOST>:<PORT>/<PATH>?op=MKDIRS[&permission=<OCTAL>]" > Gives following error : > HTTP/1.1 405 HTTP method PUT is not supported by this URL > Content-Length: 0 > Server: Jetty(6.1.26) > Correction Required : This works for me > curl -i -X PUT "http://<host>:<port>/*webhdfs/v1/*<PATH>?op=MKDIRS" > {quote} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira