hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-617) Support for non-recursive create() in HDFS
Date Mon, 14 Sep 2009 23:22:57 GMT

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


Mime
View raw message