You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Harsh J (Created) (JIRA)" <ji...@apache.org> on 2012/02/01 14:24:59 UTC

[jira] [Created] (HDFS-2869) Error in Webhdfs documentation for mkdir

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


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