You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (Created) (JIRA)" <ji...@apache.org> on 2012/03/15 20:20:41 UTC

[jira] [Created] (HADOOP-8175) Add mkdir -p flag

Add mkdir -p flag
-----------------

                 Key: HADOOP-8175
                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs
    Affects Versions: 0.23.0, 0.24.0
            Reporter: Daryn Sharp
            Assignee: Daryn Sharp


Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.

(Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Target Version/s: 0.24.0, 0.23.2  (was: 0.23.2, 0.24.0)
              Status: Open  (was: Patch Available)
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Tsz Wo (Nicholas), SZE (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230720#comment-13230720 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-8175:
------------------------------------------------

Oops, we forgot to update the usage and description of mkdir.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230836#comment-13230836 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1893 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1893/])
    HADOOP-8175. Add -p option to mkdir in FsShell.  Contributed by Daryn Sharp (Revision 1301303)

     Result = ABORTED
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Attachment: HADOOP-8175-2.patch

Update usage test.  Didn't realize they weren't in hdfs anymore, kudos to whoever moved them!
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230820#comment-13230820 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #680 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/680/])
    svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-8175:
-------------------------------------------

    Target Version/s: 0.24.0, 0.23.2  (was: 0.23.2, 0.24.0)
        Hadoop Flags: Reviewed

> ... But I am not an HDFS committer, ...

Hey Robert, this indeed belongs to COMMON since FileSystem and FsShell are in COMMON.  Please feel free to commit it next time.

+1 patch looks good.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230608#comment-13230608 ] 

Robert Joseph Evans commented on HADOOP-8175:
---------------------------------------------

Oh 1 other thing which is very minor,  You have a TODO in your code.  Please be sure to file a follow up JIRA for it, or remove the TODO.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Harsh J updated HADOOP-8175:
----------------------------

    Target Version/s:   (was: 0.23.2, 0.24.0)
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

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

[jira] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230833#comment-13230833 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #697 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/697/])
    svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

Posted by "Arun C Murthy (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun C Murthy updated HADOOP-8175:
----------------------------------

    Fix Version/s:     (was: 0.24.0)
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230797#comment-13230797 ] 

Hadoop QA commented on HADOOP-8175:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12518579/HADOOP-8175-2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.fs.viewfs.TestViewFsTrash

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/718//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/718//console

This message is automatically generated.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230788#comment-13230788 ] 

Hadoop QA commented on HADOOP-8175:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12518579/HADOOP-8175-2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in .

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/716//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/716//console

This message is automatically generated.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231535#comment-13231535 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1899 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1899/])
    HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

     Result = ABORTED
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231199#comment-13231199 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1021 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1021/])
    HADOOP-8175. Add -p option to mkdir in FsShell.  Contributed by Daryn Sharp (Revision 1301303)
Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)
HADOOP-8175. FsShell: Add -p option to mkdir.  Contributed by Daryn Sharp (Revision 1301273)

     Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231939#comment-13231939 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #987 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/987/])
    HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230740#comment-13230740 ] 

Hadoop QA commented on HADOOP-8175:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12518572/HADOOP-8175-2.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.cli.TestCLI
                  org.apache.hadoop.fs.viewfs.TestViewFsTrash

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/715//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/715//console

This message is automatically generated.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231148#comment-13231148 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #199 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/199/])
    svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230812#comment-13230812 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1959 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1959/])
    HADOOP-8175. Add -p option to mkdir in FsShell.  Contributed by Daryn Sharp (Revision 1301303)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231129#comment-13231129 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #986 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/986/])
    HADOOP-8175. Add -p option to mkdir in FsShell.  Contributed by Daryn Sharp (Revision 1301303)
Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)
HADOOP-8175. FsShell: Add -p option to mkdir.  Contributed by Daryn Sharp (Revision 1301273)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230809#comment-13230809 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1892 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1892/])
    Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)

     Result = ABORTED
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231461#comment-13231461 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1891 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1891/])
    HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Target Version/s: 0.24.0, 0.23.2  (was: 0.23.2, 0.24.0)
              Status: Patch Available  (was: Open)
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231975#comment-13231975 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1022 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1022/])
    HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Target Version/s: 0.24.0, 0.23.2  (was: 0.23.2, 0.24.0)
              Status: Patch Available  (was: Open)
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230759#comment-13230759 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1883 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1883/])
    Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

Posted by "Tsz Wo (Nicholas), SZE (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-8175:
-------------------------------------------

          Resolution: Fixed
       Fix Version/s: 0.23.2
    Target Version/s: 0.24.0, 0.23.2  (was: 0.23.2, 0.24.0)
              Status: Resolved  (was: Patch Available)

+1 The latest patch look good.

I have committed this.  Thanks, Daryn!
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231156#comment-13231156 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #227 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/227/])
    svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

     Result = FAILURE
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Target Version/s: 0.24.0, 0.23.2  (was: 0.23.2, 0.24.0)
        Release Note: FsShell mkdir now accepts a -p flag.  Like unix, mkdir -p will not fail if the directory already exists.  Unlike unix, intermediate directories are always created, regardless of the flag, to avoid incompatibilities at this time.
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230726#comment-13230726 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1882 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1882/])
    HADOOP-8175. FsShell: Add -p option to mkdir.  Contributed by Daryn Sharp (Revision 1301273)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230814#comment-13230814 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #1885 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1885/])
    HADOOP-8175. Add -p option to mkdir in FsShell.  Contributed by Daryn Sharp (Revision 1301303)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301303
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230701#comment-13230701 ] 

Hadoop QA commented on HADOOP-8175:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12518547/HADOOP-8175.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.fs.viewfs.TestViewFsTrash

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/714//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/714//console

This message is automatically generated.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230775#comment-13230775 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1891 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1891/])
    HADOOP-8175. FsShell: Add -p option to mkdir.  Contributed by Daryn Sharp (Revision 1301273)

     Result = ABORTED
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13231449#comment-13231449 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1965 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1965/])
    HDFS-3104. Add tests for HADOOP-8175. Contributed by Daryn Sharp (Revision 1301665)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301665
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/testHDFSConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Attachment: HADOOP-8175-2.patch

Update usage & description.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Updated] (HADOOP-8175) Add mkdir -p flag

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

Daryn Sharp updated HADOOP-8175:
--------------------------------

    Attachment: HADOOP-8175.patch
    
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230605#comment-13230605 ] 

Robert Joseph Evans commented on HADOOP-8175:
---------------------------------------------

I like the patch.  The tests are part of HDFS-3104, I looked at them too and I think they look good.  +1.  But I am not an HDFS committer, just MapReduce and common, so it might be best to get an HDFS committer to put in both.
                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230817#comment-13230817 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Common-0.23-Commit #689 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/689/])
    svn merge -c 1301303 from trunk for HADOOP-8175. (Revision 1301305)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301305
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/resources/testConf.xml

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0, 0.23.2
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

--
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] [Commented] (HADOOP-8175) Add mkdir -p flag

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230730#comment-13230730 ] 

Hudson commented on HADOOP-8175:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1957 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1957/])
    Revert previous commit r1301273 for HADOOP-8175. (Revision 1301282)
HADOOP-8175. FsShell: Add -p option to mkdir.  Contributed by Daryn Sharp (Revision 1301273)

     Result = SUCCESS
szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301282
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1301273
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/Mkdir.java

                
> Add mkdir -p flag
> -----------------
>
>                 Key: HADOOP-8175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 0.23.0, 0.24.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>             Fix For: 0.24.0
>
>         Attachments: HADOOP-8175-2.patch, HADOOP-8175.patch
>
>
> Users require the ability to create a directory iff it doesn't exist.  Currently, running FsShell's mkdir twice will result in an already exists error.  The unix mkdir -p flag won't fail if the directory already exists.  Per parent jira, pig project would also like this feature.
> (Eventually mkdir should probably also stop creating all intermediate dirs unless -p is given, but that's an incompatible change)

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