Description
Hello,
We've noticed that when creating a file, which does not exist in S3, we see an extra LIST call gets issued to see if it's a directory (i.e. if key = "bar", it will issue an object list request for "bar/").
Is this really necessary, shouldn't a HEAD request be sufficient to determine if it actually exists or not? As we're creating 1000s of files, this is quite expensive, as we're effectively doubling our costs for file creation. Curious if others have experienced similar or identical issues, or if there are any workarounds.
Thanks,
Sam
Attachments
Issue Links
- duplicates
-
HADOOP-15460 S3A FS to add "fs.s3a.create.performance" to the builder file creation option set
- Resolved
- relates to
-
HADOOP-18930 S3A: make fs.s3a.create.performance an option you can set for the entire bucket
- Resolved