Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
When running in an EC2 VM, S3A can make use of InstanceProfileCredentialsProvider from the AWS SDK to obtain credentials from the EC2 Instance Metadata Service. We have observed that for a highly multi-threaded application, this may generate a high number of calls to the Instance Metadata Service. The service may throttle the client by replying with an HTTP 429 response or forcibly closing connections. We can greatly reduce the number of calls to the service by enforcing that all threads use a single shared instance of InstanceProfileCredentialsProvider.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-13050 Upgrade to AWS SDK 1.11.45
- Resolved
-
HADOOP-14301 Deprecate SharedInstanceProfileCredentialsProvider in branch-2.
- Resolved
-
HADOOP-13726 Enforce that FileSystem initializes only a single instance of the requested FileSystem.
- Open
-
HADOOP-14248 Retire SharedInstanceProfileCredentialsProvider in trunk.
- Resolved