You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Kan Zhang (JIRA)" <ji...@apache.org> on 2009/09/14 19:36:57 UTC

[jira] Created: (HDFS-617) Support for non-recursive create() in HDFS

Support for non-recursive create() in HDFS
------------------------------------------

                 Key: HDFS-617
                 URL: https://issues.apache.org/jira/browse/HDFS-617
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Kan Zhang
            Assignee: Kan Zhang


HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755246#action_12755246 ] 

Kan Zhang commented on HDFS-617:
--------------------------------

Addressed Nicholas' comment with new patch.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Patch Available  (was: Open)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Attachment: h617-01.patch

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Open  (was: Patch Available)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hadoop QA commented on HDFS-617:
--------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12419582/h617-02.patch
  against trunk revision 814449.

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

    +1 tests included.  The patch appears to include 11 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 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/6/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/6/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/6/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/6/console

This message is automatically generated.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hadoop QA commented on HDFS-617:
--------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12419664/h617-06.patch
  against trunk revision 815001.

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

    +1 tests included.  The patch appears to include 11 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 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/29/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/29/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/29/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/29/console

This message is automatically generated.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Attachment: h617-04.patch

one minor javadoc change.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755634#action_12755634 ] 

Kan Zhang commented on HDFS-617:
--------------------------------

attached a new patch that throws FileAlreadyExistsException when parent dir exists as a file.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Patch Available  (was: Open)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Tsz Wo (Nicholas), SZE commented on HDFS-617:
---------------------------------------------

Patch looks good except that createParent should be false when for append.
{code}
     startFileInternal(src, null, holder, clientMachine, EnumSet.of(CreateFlag.APPEND), 
-                      (short)blockManager.maxReplication, (long)0);
+                      true, (short)blockManager.maxReplication, (long)0);
     getEditLog().logSync();
{code}

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Release Note: Support for non-recursive create()

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Attachment: h617-06.patch

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Tsz Wo (Nicholas), SZE updated HDFS-617:
----------------------------------------

      Component/s: name-node
                   hdfs client
    Fix Version/s: 0.21.0
     Hadoop Flags: [Reviewed]

+1 the patch is perfect!

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Patch Available  (was: Open)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755262#action_12755262 ] 

Kan Zhang commented on HDFS-617:
--------------------------------

attached a new patch that factors out the code for verifying parent dir exists.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Attachment: h617-02.patch

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

Posted by "Kan Zhang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755133#action_12755133 ] 

Kan Zhang commented on HDFS-617:
--------------------------------

Atteched a patch that 
1. added a boolean parameter to the create() RPC call to indicate whether missing parent directories should be created.
2. added a createNonCursive() method to DistributedFileSystem interface, which doesn't create missing parent directories (complements existing create() method that does).

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HDFS-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893873#action_12893873 ] 

Todd Lipcon commented on HDFS-617:
----------------------------------

Patch for 0.20 append looks good, except I don't think we should mark the old APIs as @Deprecated. We'd like to ship 0.20-append as a drop-in replacement for 0.20 for people using HBase, and adding deprecation warnings to 0.20 APIs seems over-zealous.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>    Affects Versions: 0.20-append
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch, HDFS-617_20-append.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Robert Chansler updated HDFS-617:
---------------------------------

    Release Note: New DFSClient.create(...) allows option of not creating missing parent(s).  (was: Support for non-recursive create())

Editorial pass over all release notes prior to publication of 0.21.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Nicolas Spiegelberg updated HDFS-617:
-------------------------------------

    Affects Version/s: 0.20-append

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>    Affects Versions: 0.20-append
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch, HDFS-617_20-append.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Patch Available  (was: Open)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Tsz Wo (Nicholas), SZE updated HDFS-617:
----------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Incompatible change, Reviewed]  (was: [Reviewed])
          Status: Resolved  (was: Patch Available)

I have committed this.  Thanks, Kan!

Please add release note.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Nicolas Spiegelberg updated HDFS-617:
-------------------------------------

    Attachment: HDFS-617_20-append.patch

Backport of patch for 0.20-append branch

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>    Affects Versions: 0.20-append
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch, HDFS-617_20-append.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hudson commented on HDFS-617:
-----------------------------

Integrated in Hdfs-Patch-h2.grid.sp2.yahoo.net #11 (See [http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/11/])
    

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hadoop QA commented on HDFS-617:
--------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12419593/h617-04.patch
  against trunk revision 814449.

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

    +1 tests included.  The patch appears to include 11 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 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/7/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/7/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/7/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h2.grid.sp2.yahoo.net/7/console

This message is automatically generated.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hudson commented on HDFS-617:
-----------------------------

Integrated in Hadoop-Hdfs-trunk #85 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/85/])
    . Support non-recursive create().  Contributed by Kan Zhang


> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hudson commented on HDFS-617:
-----------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #36 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk-Commit/36/])
    . Support non-recursive create().  Contributed by Kan Zhang


> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>             Fix For: 0.21.0
>
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch, h617-06.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Open  (was: Patch Available)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS

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

Hadoop QA commented on HDFS-617:
--------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12419552/h617-01.patch
  against trunk revision 814449.

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

    +1 tests included.  The patch appears to include 11 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 findbugs.  The patch does not introduce any new Findbugs warnings.

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

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

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

Test results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/26/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/26/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/26/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hdfs-Patch-h5.grid.sp2.yahoo.net/26/console

This message is automatically generated.

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Open  (was: Patch Available)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch, h617-04.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Attachment: h617-03.patch

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Open  (was: Patch Available)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch, h617-02.patch, h617-03.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HDFS-617) Support for non-recursive create() in HDFS

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

Kan Zhang updated HDFS-617:
---------------------------

    Status: Patch Available  (was: Open)

> Support for non-recursive create() in HDFS
> ------------------------------------------
>
>                 Key: HDFS-617
>                 URL: https://issues.apache.org/jira/browse/HDFS-617
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h617-01.patch
>
>
> HADOOP-4952 calls for a create call that doesn't automatically create missing parent directories.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.