[
https://issues.apache.org/jira/browse/HADOOP-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468554#comment-13468554
]
Daryn Sharp commented on HADOOP-8873:
-------------------------------------
The only difference other than parent creation is that -p doesn't fail if the
directory already exists whereas a normal mkdir should. If 1.x mkdir doesn't
fail on existence, then -p can be a no-op.
> Port HADOOP-8175 (Add mkdir -p flag) to branch-1
> ------------------------------------------------
>
> Key: HADOOP-8873
> URL: https://issues.apache.org/jira/browse/HADOOP-8873
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 1.0.0
> Reporter: Eli Collins
> Labels: newbie
>
> Per HADOOP-8551 let's port the mkdir -p option to branch-1 for a 1.x release
> to help users transition to the new shell behavior. In Hadoop 2.x mkdir
> currently requires the -p option to create parent directories but a program
> that specifies it won't work on 1.x since it doesn't support this option.
--
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