Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
2.7.2
-
None
-
None
Description
Input perf is best if blocksize matches the partition size used to upload the data.
There's currently no way of knowing this —but S3A does know the partition size to use when uploading data.
I propose picking that up as the blocksize if the configured value of fs.s3a.block.size is zero. This value is utterly illegal today (more precisely, it will break any app using it to calculate splits), even when there is no check for its range