hadoop/hadoop-tools/hadoop-azure-datalake/src
Steve Loughran d4d4c37810
HADOOP-14630 Contract Tests to verify create, mkdirs and rename under a file is forbidden
Contributed by Steve Loughran.

Not all stores do complete validation here; in particular the S3A
Connector does not: checking up the entire directory tree to see if a path matches
is a file significantly slows things down.

This check does take place in S3A mkdirs(), which walks backwards up the list of
parent paths until it finds a directory (success) or a file (failure).
In practice production applications invariably create destination directories
before writing 1+ file into them -restricting check purely to the mkdirs()
call deliver significant speed up while implicitly including the checks.

Change-Id: I2c9df748e92b5655232e7d888d896f1868806eb0
2020-03-09 14:44:28 +00:00
..
main/java/org/apache/hadoop/fs/adl HADOOP-15691 Add PathCapabilities to FileSystem and FileContext. 2019-09-25 12:16:41 +01:00
site HADOOP-16438. ADLS Gen1 OpenSSL config control. 2019-09-09 17:09:32 +01:00
test HADOOP-14630 Contract Tests to verify create, mkdirs and rename under a file is forbidden 2020-03-09 14:44:28 +00:00