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-14769) WASB: delete recursive should not fail if a file is deleted
Date Fri, 18 Aug 2017 14:06:00 GMT

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

Hudson commented on HADOOP-14769:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12210 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12210/])
HADOOP-14769. WASB: delete recursive should not fail if a file is (stevel: rev c6b4e656b76b68cc1d0dbcc15a5aa5ea23335b7b)
* (edit) hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java
* (edit) hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azure/TestFileSystemOperationsWithThreads.java
* (edit) hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/AzureNativeFileSystemStore.java


> WASB: delete recursive should not fail if a file is deleted
> -----------------------------------------------------------
>
>                 Key: HADOOP-14769
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14769
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>            Reporter: Thomas Marquardt
>            Assignee: Thomas Marquardt
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         Attachments: HADOOP-14769-001.patch, HADOOP-14769-002.patch
>
>
> FileSystem.delete(Path path) and delete(Path path, boolean recursive) return false if
the path does not exist.  The WASB implementation of recursive delete currently fails if one
of the entries is deleted by an external agent while a recursive delete is in progress.  For
example, if you try to delete all of the files in a directory, which can be a very long process,
and one of the files contained within is deleted by an external agent, the recursive directory
delete operation will fail if it tries to delete that file and discovers that it does not
exist.  This is not desirable.  A recursive directory delete operation should succeeed if
the directory initially exists and when the operation completes, the directory and all of
its entries do not exist.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message