hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8551) fs -mkdir creates parent directories without the -p option
Date Thu, 27 Sep 2012 14:16:08 GMT

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

Daryn Sharp commented on HADOOP-8551:
-------------------------------------

By adopting better posix compliance, there are a number of other "incompatible" changes in
the shell.  Such as nothing auto-magically creates parent dirs anymore.  It was an oversight
that mkdir did since the -p flag was there.  It seems like a minor change for users to add
"-p", but that's just my $.02.
                
> fs -mkdir creates parent directories without the -p option
> ----------------------------------------------------------
>
>                 Key: HADOOP-8551
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8551
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.3, 2.0.0-alpha, 3.0.0
>            Reporter: Robert Joseph Evans
>            Assignee: John George
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: HADOOP-8551.patch, HADOOP-8551.patch, HADOOP-8551.patch, HADOOP-8551.patch
>
>
> hadoop fs -mkdir foo/bar will work even if bar is not present.  It should only work if
-p is given and foo is not present.

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

Mime
View raw message