[ 
https://issues.apache.org/jira/browse/HDFS-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755231#action_12755231
 ] 

Kan Zhang commented on HDFS-618:
--------------------------------

Attached a patch that
1. Added an interface method mkdir to DistributedFileSystem. It throws 
FileNotFoundException when parent dir doesn't exist.
2. Added a boolean param createParent to mkdirs() RPC call on ClientProtocol.

> Support for non-recursive mkdir in HDFS
> ---------------------------------------
>
>                 Key: HDFS-618
>                 URL: https://issues.apache.org/jira/browse/HDFS-618
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kan Zhang
>            Assignee: Kan Zhang
>         Attachments: h618-03.patch
>
>
> Existing mkdirs call automatically creates missing parent directories. 
> HADOOP-4952 call for a mkdir call that doesn't.

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