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

Reply via email to