[
https://issues.apache.org/jira/browse/HADOOP-15086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran updated HADOOP-15086:
------------------------------------
Resolution: Fixed
Fix Version/s: 3.1.0
Target Version/s: 2.7.5, 3.0.0-beta1, 2.9.0 (was: 2.9.0, 3.0.0-beta1,
2.7.5)
Status: Resolved (was: Patch Available)
+1, committed
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]