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

Akira AJISAKA commented on HADOOP-8873:
---------------------------------------

[~sureshms], thank you for your comment.

bq. But does mkdir fail if the directory you are creating exists not the parent 
directory?

Mkdir doesn't fail if the parent directory doesn't exist on 1.2.0.

bq. 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.

I am running this on 1.2.0. I just wanted to confirm how this scenario (-p 
option) works.
                
> 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

Reply via email to