[ https://issues.apache.org/jira/browse/HDFS-2869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J updated HDFS-2869: -------------------------- Target Version/s: 0.23.1, 1.1.0 (was: 1.1.0, 0.23.1) Status: Patch Available (was: Open) > 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: 1.0.0, 0.23.1 > Reporter: Harsh J > Assignee: Harsh J > Priority: Minor > 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