Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B5FE998F for ; Fri, 16 Mar 2012 00:03:01 +0000 (UTC) Received: (qmail 59493 invoked by uid 500); 16 Mar 2012 00:03:01 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 59454 invoked by uid 500); 16 Mar 2012 00:03:01 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 59446 invoked by uid 99); 16 Mar 2012 00:03:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 00:03:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2012 00:02:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D581C20017 for ; Fri, 16 Mar 2012 00:02:37 +0000 (UTC) Date: Fri, 16 Mar 2012 00:02:37 +0000 (UTC) From: "Daryn Sharp (Updated) (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1622385873.22119.1331856157875.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <838603806.20533.1331839241351.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8175) Add mkdir -p flag MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daryn Sharp updated HADOOP-8175: -------------------------------- Target Version/s: 0.24.0, 0.23.2 (was: 0.23.2, 0.24.0) Status: Open (was: Patch Available) > Add mkdir -p flag > ----------------- > > Key: HADOOP-8175 > URL: https://issues.apache.org/jira/browse/HADOOP-8175 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs > Affects Versions: 0.23.0, 0.24.0 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Fix For: 0.24.0 > > Attachments: HADOOP-8175-2.patch, HADOOP-8175.patch > > > Users require the ability to create a directory iff it doesn't exist. Currently, running FsShell's mkdir twice will result in an already exists error. The unix mkdir -p flag won't fail if the directory already exists. Per parent jira, pig project would also like this feature. > (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change) -- 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