Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0805091B7 for ; Wed, 1 Feb 2012 13:25:12 +0000 (UTC) Received: (qmail 59941 invoked by uid 500); 1 Feb 2012 13:25:10 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 59864 invoked by uid 500); 1 Feb 2012 13:25:10 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 59856 invoked by uid 99); 1 Feb 2012 13:25:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 13:25:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harsh@cloudera.com designates 209.85.210.51 as permitted sender) Received: from [209.85.210.51] (HELO mail-pz0-f51.google.com) (209.85.210.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2012 13:25:05 +0000 Received: by dady9 with SMTP id y9so911893dad.38 for ; Wed, 01 Feb 2012 05:24:45 -0800 (PST) Received: by 10.68.212.130 with SMTP id nk2mr59370886pbc.69.1328102685165; Wed, 01 Feb 2012 05:24:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.72.17 with HTTP; Wed, 1 Feb 2012 05:24:25 -0800 (PST) In-Reply-To: <7D9AF4B98807C54EBADEA75DF6D5ACB7E39DD4F7@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> References: <7D9AF4B98807C54EBADEA75DF6D5ACB7E39DD4F7@NDA-HCLC-EVS04.HCLC.CORP.HCL.IN> From: Harsh J Date: Wed, 1 Feb 2012 18:54:25 +0530 Message-ID: Subject: Re: (Hadoop-1.0.0)Correction required in Webhdfs url for creating a directory. To: hdfs-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Stuti, Thanks for reporting this! I went ahead and filed https://issues.apache.org/jira/browse/HDFS-2869 for correcting this. In future, for all valid bugs or issues you want to report for HDFS, please file a JIRA at the https://issues.apache.org/jira/browse/HDFS issue tracker page. On Thu, Jan 19, 2012 at 5:47 PM, Stuti Awasthi wrote: > Hi, > 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://:/?op=MKDIRS[&permission=]" > > 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://:/webhdfs/v1/?op=MKDIRS" > > Thanks > > ::DISCLAIMER:: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have > received this email in error please delete it and notify the sender immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- -- Harsh J Customer Ops. Engineer Cloudera | http://tiny.cloudera.com/about