[
https://issues.apache.org/jira/browse/HADOOP-8873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13702699#comment-13702699
]
Suresh Srinivas commented on HADOOP-8873:
-----------------------------------------
bq. On 1.2.0, mkdir doesn't fail if parent direcotry exists.
But does mkdir fail if the directory you are creating exists not the parent
directory?
bq. If -p option is set, both parent/child2 and "-p" directories are created.
Which release are you running this on? Assuming it is 2.x, not sure I
understand how this scenario is related to the discussion in this bug.
> 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.2.0
> Reporter: Eli Collins
> Assignee: Akira AJISAKA
> 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