You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by 小学园PHP <xx...@qq.com> on 2013/03/18 05:03:37 UTC

HTTP/1.1 405 HTTP method PUT is not supported by this URL??

When i mkdir by curl using the WebHDFS.
Hadoop return:
HTTP/1.1 405 HTTP method PUT is not supported by this URL


OK, Who know this why?


TIA
Levi

Re: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

Posted by Harsh J <ha...@cloudera.com>.
Hi,

Please use user@hadoop.apache.org for usage specific questions. The
dev lists are for project developer discussions alone.

Can you share your full curl command, including specifically the URL you used?

On Mon, Mar 18, 2013 at 9:33 AM, 小学园PHP <xx...@qq.com> wrote:
> When i mkdir by curl using the WebHDFS.
> Hadoop return:
> HTTP/1.1 405 HTTP method PUT is not supported by this URL
>
>
> OK, Who know this why?
>
>
> TIA
> Levi



--
Harsh J

Re: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

Posted by Harsh J <ha...@cloudera.com>.
Hi,

Please use user@hadoop.apache.org for usage specific questions. The
dev lists are for project developer discussions alone.

Can you share your full curl command, including specifically the URL you used?

On Mon, Mar 18, 2013 at 9:33 AM, 小学园PHP <xx...@qq.com> wrote:
> When i mkdir by curl using the WebHDFS.
> Hadoop return:
> HTTP/1.1 405 HTTP method PUT is not supported by this URL
>
>
> OK, Who know this why?
>
>
> TIA
> Levi



--
Harsh J

RE: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

Posted by Brahma Reddy Battula <br...@huawei.com>.
HI Levi,


you might tried using the following syntax..

curl -i -X PUT
"http://<HOST>:<PORT>/<PATH>?op=MKDIRS[&permission=<OCTAL>]


Use the following syntax for makedir 


curl -i -X PUT
"http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=MKDIRS[&permission=<OCTAL>]


FYR:



https://issues.apache.org/jira/browse/HDFS-2869



________________________________________
From: 小学园PHP [xxy-php@qq.com]
Sent: Monday, March 18, 2013 12:03 PM
To: common-dev
Subject: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

When i mkdir by curl using the WebHDFS.
Hadoop return:
HTTP/1.1 405 HTTP method PUT is not supported by this URL


OK, Who know this why?


TIA
Levi

Re: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

Posted by Harsh J <ha...@cloudera.com>.
Hi,

Please use user@hadoop.apache.org for usage specific questions. The
dev lists are for project developer discussions alone.

Can you share your full curl command, including specifically the URL you used?

On Mon, Mar 18, 2013 at 9:33 AM, 小学园PHP <xx...@qq.com> wrote:
> When i mkdir by curl using the WebHDFS.
> Hadoop return:
> HTTP/1.1 405 HTTP method PUT is not supported by this URL
>
>
> OK, Who know this why?
>
>
> TIA
> Levi



--
Harsh J

Re: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

Posted by Harsh J <ha...@cloudera.com>.
Hi,

Please use user@hadoop.apache.org for usage specific questions. The
dev lists are for project developer discussions alone.

Can you share your full curl command, including specifically the URL you used?

On Mon, Mar 18, 2013 at 9:33 AM, 小学园PHP <xx...@qq.com> wrote:
> When i mkdir by curl using the WebHDFS.
> Hadoop return:
> HTTP/1.1 405 HTTP method PUT is not supported by this URL
>
>
> OK, Who know this why?
>
>
> TIA
> Levi



--
Harsh J

Re: HTTP/1.1 405 HTTP method PUT is not supported by this URL??

Posted by Harsh J <ha...@cloudera.com>.
Hi,

Please use user@hadoop.apache.org for usage specific questions. The
dev lists are for project developer discussions alone.

Can you share your full curl command, including specifically the URL you used?

On Mon, Mar 18, 2013 at 9:33 AM, 小学园PHP <xx...@qq.com> wrote:
> When i mkdir by curl using the WebHDFS.
> Hadoop return:
> HTTP/1.1 405 HTTP method PUT is not supported by this URL
>
>
> OK, Who know this why?
>
>
> TIA
> Levi



--
Harsh J