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 "Kihwal Lee (JIRA)" <ji...@apache.org> on 2015/09/29 00:36:05 UTC
[jira] [Commented] (HADOOP-12446) Undeprecate createNonRecursive()
[ https://issues.apache.org/jira/browse/HADOOP-12446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934228#comment-14934228 ]
Kihwal Lee commented on HADOOP-12446:
-------------------------------------
I moved the jira to Common and committed it to trunk and branch-2.
> Undeprecate createNonRecursive()
> --------------------------------
>
> Key: HADOOP-12446
> URL: https://issues.apache.org/jira/browse/HADOOP-12446
> Project: Hadoop Common
> Issue Type: Task
> Affects Versions: 2.4.0
> Reporter: Ted Yu
> Assignee: Ted Yu
> Labels: hbase
> Fix For: 2.8.0
>
> Attachments: hdfs-6264-v1.txt, hdfs-6264-v2.txt, hdfs-6264-v3.txt
>
>
> FileSystem#createNonRecursive() is deprecated.
> However, there is no DistributedFileSystem#create() implementation which throws exception if parent directory doesn't exist.
> This limits clients' migration away from the deprecated method.
> For HBase, IO fencing relies on the behavior of FileSystem#createNonRecursive().
> Variant of create() method should be added which throws exception if parent directory doesn't exist.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)