hadoop/hadoop-tools/hadoop-aws/src
Steve Loughran 7ec636deec
HADOOP-18930. Make fs.s3a.create.performance a bucket-wide setting. (#6168)
If fs.s3a.create.performance is set on a bucket
- All file overwrite checks are skipped, even if the caller says
  otherwise.
- All directory existence checks are skipped.
- Marker deletion is *always* skipped.

This eliminates a HEAD and a LIST for every creation.

* New path capability "fs.s3a.create.performance.enabled" true
  if the option is enabled.
* Parameterize ITestS3AContractCreate to expect the different
  outcomes
* Parameterize ITestCreateFileCost similarly, with
  changed cost assertions there.
* create(/) raises an IOE. existing bug only noticed here.

Contributed by Steve Loughran
2023-10-27 12:23:55 +01:00
..
main HADOOP-18930. Make fs.s3a.create.performance a bucket-wide setting. (#6168) 2023-10-27 12:23:55 +01:00
site HADOOP-18948. S3A. Add option fs.s3a.directory.operations.purge.uploads to purge on rename/delete (#6218) 2023-10-25 17:39:16 +01:00
test HADOOP-18930. Make fs.s3a.create.performance a bucket-wide setting. (#6168) 2023-10-27 12:23:55 +01:00