You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/07/03 15:55:24 UTC

[jira] [Created] (HADOOP-8551) fs -mkdir creates parent directories without the -p option

Robert Joseph Evans created HADOOP-8551:
-------------------------------------------

             Summary: 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.1-alpha, 3.0.0
            Reporter: Robert Joseph Evans
            Assignee: Daryn Sharp


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (HADOOP-8551) fs -mkdir creates parent directories without the -p option

Posted by "Robert Joseph Evans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Joseph Evans reopened HADOOP-8551:
-----------------------------------------


-mkdir a
-mkdir a/b/ (Fails)
-mkdir a/b (Succeeds)

I am going to revert this until this is fixed, thanks for catching this John.
                
> 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.1.0-alpha, 3.0.0
>            Reporter: Robert Joseph Evans
>            Assignee: Daryn Sharp
>             Fix For: 0.23.3, 3.0.0, 2.2.0-alpha
>
>         Attachments: 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira