Steve Loughran created HADOOP-13779:
---------------------------------------
Summary: s3a to skip s3 bucket existence check in initialize() for
faster creation
Key: HADOOP-13779
URL: https://issues.apache.org/jira/browse/HADOOP-13779
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/s3
Reporter: Rajesh Balamohan
Priority: Minor
The {{verifyBucketExists()}} makes an HTTPS HEAD request of a bucket when
creating an FS, adding an extra HTTPS call of a few hundred millis. (as this is
the first call, cost may be amplified for DNS lookup, thread pool creation,
etc, so may appear more expensive).
If a bucket doesn't exist, the first actual client-initiated operation (get,
list, put) will trigger a failure, so the call could potentially be stripped
out.
# it will complicate failure reporting, if you want to distinguish "unauthed"
and "not found" on a blob from those on a bucket.
# the fact that the first HTTPS request probably includes first-HTTPS call
overhead (pool creation, DNS, any certificate checking) may make that first
call appear more expensive than it is...those actions would just take place on
the first client-initiated call.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]