-
Notifications
You must be signed in to change notification settings - Fork 509
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
HDDS-5865. Make read retry interval and attempts in BlockInputStream configurable #6408
Conversation
… modifies InputStream classes to access client configuration.
@adoroszlai and @ashishkumar50 can you please take a look |
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.
Thanks a lot @SaketaChalamchala for updating the patch from #6309.
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/OzoneClientConfig.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/storage/BlockInputStream.java
Outdated
Show resolved
Hide resolved
hadoop-hdds/client/src/main/java/org/apache/hadoop/hdds/scm/OzoneClientConfig.java
Outdated
Show resolved
Hide resolved
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.
Thanks @SaketaChalamchala for updating the patch, LGTM. (Fixed a typo in the config description. Sorry I missed it earlier.)
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.
@SaketaChalamchala Thanks for updating the patch, LGTM.
Thanks @SaketaChalamchala for the patch, @ashishkumar50 for the review. |
…InputStream configurable (apache#6408) (cherry picked from commit c4dc6a0) Change-Id: I09e2ec572daf32755ffe17087c38416ec10574db
…configurable (apache#6408) (cherry picked from commit c4dc6a0)
…configurable (apache#6408) (cherry picked from commit c4dc6a0)
…configurable (apache#6408) (cherry picked from commit c4dc6a0)
…configurable (apache#6408) (cherry picked from commit c4dc6a0)
…configurable (apache#6408) (cherry picked from commit c4dc6a0)
What changes were proposed in this pull request?
Retry policy when reading keys is hardcoded. Made the read retry max attempts and retry interval configurable in client configuration ozone.client.max.read.retries and ozone.client.max.read.retries. Modified InputStream classes to accept client configuration so that read retry policy can be created wherever required.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5865
How was this patch tested?
Existing UT and integration tests should run as is.