-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RetryStrategy for S3 file system (#9736)
Summary: This PR add `RetryStrategy` support for s3 file system, thus it will retry when connection fails. It also upgrade aws sdk to `1.11.321` which supports `AdaptiveRetryStrategy` which user may choose to use. For `RetryStrategy`, 2 configs are added: `hive.s3.max-attempts`: Maximum attempts for connections to a single http client. `hive.s3.retry-mode`: 'standard', 'adaptive' or `legacy`, client will be created w/o retrystrategy if it's empty. Pull Request resolved: #9736 Reviewed By: pedroerp Differential Revision: D58368804 Pulled By: kgpai fbshipit-source-id: 7aaea7f0cdc9cd6149fda28bbe317cba3357a9d4
- Loading branch information
1 parent
c98e7de
commit 8c3630b
Showing
5 changed files
with
116 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters