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-12484) Single File Rename Throws Incorrectly In Potential Race Condition Scenarios
Date Fri, 23 Oct 2015 01:38:27 GMT

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

Hudson commented on HADOOP-12484:

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #528 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/528/])
HADOOP-12484. Single File Rename Throws Incorrectly In Potential Race (cnauroth: rev cb282d5b89fdece4719cc4ad37a6e27f13371534)
* hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azure/NativeAzureFileSystem.java
* hadoop-common-project/hadoop-common/CHANGES.txt

> Single File Rename Throws Incorrectly In Potential Race Condition Scenarios
> ---------------------------------------------------------------------------
>                 Key: HADOOP-12484
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12484
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>            Reporter: Gaurav Kanade
>            Assignee: Gaurav Kanade
>             Fix For: 2.8.0
>         Attachments: HADOOP-12484.01.patch, HADOOP-12484.02.patch, HADOOP-12484.03.patch,
HADOOP-12484.04.patch, HADOOP-12484.05.patch, HADOOP-12484.06.patch
> FinishSingleFileRename function - in the case where src and dst both exist gets a lease
on src blob to block write access and then deletes the file. However in the time between checking
existence of source file and acquiring lease the file may be deleted by another process (race
condition). Presently the function simply throws in this scenario. In this case the function
should treat this as a case where rename is complete; i.e. catch the exception and if this
is the cause exit gracefully with the result that the rename is complete

This message was sent by Atlassian JIRA

View raw message