hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12446) Undeprecate createNonRecursive()
Date Tue, 29 Sep 2015 00:56:06 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934422#comment-14934422
] 

Hudson commented on HADOOP-12446:
---------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #1193 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1193/])
HADOOP-12446. Undeprecate createNonRecursive(). Contributed by Ted Yu. (kihwal: rev 3abbdc929bde05f8819f5410cef1eaeb8940203f)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/viewfs/ChRootedFileSystem.java
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileCreation.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/RawLocalFileSystem.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileSystem.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HarFileSystem.java
* hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java
* hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/WebHdfsFileSystem.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FilterFileSystem.java
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestHarFileSystem.java
* hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/NativeAzureFileSystemBaseTest.java
* hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java


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

Mime
View raw message