hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2869) Error in Webhdfs documentation for mkdir
Date Wed, 01 Feb 2012 13:24:59 GMT
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

        

Mime
View raw message