-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-28972 Limit the number of retries in FanOutOneBlockAsyncDFSOutp… #6453
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
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| HdfsFileStatus stat) { | ||
| for (int retry = 0;; retry++) { | ||
| HdfsFileStatus stat) throws IOException { | ||
| int maxRetries = client.getConf().getBlockWriteLocateFollowingInitialDelayMs(); |
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.
The method name refers to milliseconds, which makes this sound we're using a temporal value for the number of retries.
Is this really the config option we want here ? Is the Hadoop getter misnamed ?
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.
Oh, should be a typo, there is a retry number config.
Let me fix.
…utHelper.completeFile
stoty
left a comment
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.
+1 LGTM (pending tests)
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
…utHelper.completeFile (#6453) Signed-off-by: Istvan Toth <[email protected]> (cherry picked from commit 05bd810)
…utHelper.completeFile (#6453) Signed-off-by: Istvan Toth <[email protected]> (cherry picked from commit 05bd810)
…utHelper.completeFile (#6453) Signed-off-by: Istvan Toth <[email protected]> (cherry picked from commit 05bd810)
…utHelper.completeFile (#6453) Signed-off-by: Istvan Toth <[email protected]> (cherry picked from commit 05bd810)
…utHelper.completeFile