[
https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230605#comment-13230605
]
Robert Joseph Evans commented on HADOOP-8175:
---------------------------------------------
I like the patch. The tests are part of HDFS-3104, I looked at them too and I
think they look good. +1. But I am not an HDFS committer, just MapReduce and
common, so it might be best to get an HDFS committer to put in both.
> 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.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