hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15086) NativeAzureFileSystem file rename is not atomic
Date Wed, 27 Dec 2017 19:00:00 GMT

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

Yin Huai commented on HADOOP-15086:
-----------------------------------

[~tmarquardt] Thank you for fixing this issue. Is it possible to also backport it to branch-2?
Thanks!

> NativeAzureFileSystem file rename is not atomic
> -----------------------------------------------
>
>                 Key: HADOOP-15086
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15086
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>            Reporter: Shixiong Zhu
>            Assignee: Thomas Marquardt
>             Fix For: 3.1.0, 3.0.1
>
>         Attachments: HADOOP-15086-001.patch, HADOOP-15086-002.patch, RenameReproducer.java
>
>
> When multiple threads rename files to the same target path, more than 1 threads can succeed.
It's because check and copy file in `rename` is not atomic.
> I would expect it's atomic just like HDFS.



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