hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6264) Provide FileSystem#create() variant which throws exception if parent directory doesn't exist
Date Wed, 16 Sep 2015 15:02:47 GMT

     [ https://issues.apache.org/jira/browse/HDFS-6264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu updated HDFS-6264:
-------------------------
    Status: Patch Available  (was: Open)

> Provide FileSystem#create() variant which throws exception if parent directory doesn't
exist
> --------------------------------------------------------------------------------------------
>
>                 Key: HDFS-6264
>                 URL: https://issues.apache.org/jira/browse/HDFS-6264
>             Project: Hadoop HDFS
>          Issue Type: Task
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Ted Yu
>              Labels: hbase
>         Attachments: hdfs-6264-v1.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)

Mime
View raw message