-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more configuration in TOS #18628
Conversation
*/ | ||
public static TransportConfig initializeTOSClientConfig( | ||
AlluxioConfiguration alluxioConf) { | ||
int readTimeoutMills = (int) alluxioConf.getMs(PropertyKey.UNDERFS_TOS_READ_TIMEOUT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you want to use alluxioConf.getMs
, use the durationBuilder instead of intBuilder.
if you use the intBuilder, please use getInt
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
alluxio-bot, merge this please |
### What changes are proposed in this pull request? This update includes several configuration options for TOS and adds the functionality to clean up expired redundant multipart upload files. ### Why are the changes needed? 1. Previously, users could not specify the number of threads, timeout durations, etc. Now, all these options can be configured when connecting to TOS. 2. Fixed the issue where expired files were not automatically cleaned up. ### Does this PR introduce any user facing changes? There are now more configuration options available, which need to be specified in the conf file. pr-link: #18628 change-id: cid-53fa0171172eed54edb077b8af0d1d62b23d7bee
What changes are proposed in this pull request?
This update includes several configuration options for TOS and adds the functionality to clean up expired redundant multipart upload files.
Why are the changes needed?
Does this PR introduce any user facing changes?
There are now more configuration options available, which need to be specified in the conf file.