hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8175) Add mkdir -p flag
Date Fri, 16 Mar 2012 01:36:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230814#comment-13230814
] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1885 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1885/])
    HADOOP-8175. Add -p option to mkdir in FsShell.  Contributed by Daryn Sharp (Revision
1301303)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> 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, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, 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

        

Mime
View raw message