hadoop/hadoop-common-project/hadoop-common
Steve Loughran 469fcdaf8f HADOOP-16721. Improve S3A rename resilience (#2742)
The S3A connector's rename() operation now raises FileNotFoundException if
the source doesn't exist; a FileAlreadyExistsException if the destination
exists and is unsuitable for the source file/directory.

When renaming to a path which does not exist, the connector no longer checks
for the destination parent directory existing -instead it simply verifies
that there is no file immediately above the destination path.
This is needed to avoid race conditions with delete() and rename()
calls working on adjacent subdirectories.

Contributed by Steve Loughran.
2021-03-11 12:54:15 +00:00
..
dev-support Make upstream aware of 3.2.2 release. 2021-01-09 18:07:10 +08:00
src HADOOP-16721. Improve S3A rename resilience (#2742) 2021-03-11 12:54:15 +00:00
HadoopCommon.cmake HADOOP-17196. Fix C/C++ standard warnings (#2208) 2020-08-11 16:35:41 +09:00
HadoopJNI.cmake
pom.xml HADOOP-17292. Using lz4-java in Lz4Codec (#2350) 2020-12-29 13:17:26 -08:00