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 3DAC0DCE4 for ; Sat, 29 Sep 2012 00:09:08 +0000 (UTC) Received: (qmail 97802 invoked by uid 500); 29 Sep 2012 00:09:07 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 97772 invoked by uid 500); 29 Sep 2012 00:09:07 -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 97756 invoked by uid 99); 29 Sep 2012 00:09:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Sep 2012 00:09:07 +0000 Date: Sat, 29 Sep 2012 11:09:07 +1100 (NCT) From: "Eli Collins (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1144963388.141783.1348877347521.JavaMail.jiratomcat@arcas> In-Reply-To: <1967680748.314.1341323724255.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (HADOOP-8551) fs -mkdir creates parent directories without the -p option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466035#comment-13466035 ] Eli Collins commented on HADOOP-8551: ------------------------------------- And I guess those jobs will never run on older 205 clusters. We have to worry about jobs (and tests) that run on multiple versions and didn't want to require people update their jobs (most of the other shell changes that were incompatible didn't actually require people update their jobs). > fs -mkdir creates parent directories without the -p option > ---------------------------------------------------------- > > Key: HADOOP-8551 > URL: https://issues.apache.org/jira/browse/HADOOP-8551 > Project: Hadoop Common > Issue Type: Bug > Components: fs > Affects Versions: 0.23.3, 2.0.0-alpha, 3.0.0 > Reporter: Robert Joseph Evans > Assignee: John George > Fix For: 0.23.3, 2.0.2-alpha > > Attachments: HADOOP-8551.patch, HADOOP-8551.patch, HADOOP-8551.patch, HADOOP-8551.patch > > > hadoop fs -mkdir foo/bar will work even if bar is not present. It should only work if -p is given and foo is not present. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira