-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-27993. AbstractFSWAL causes ArithmeticException due to improper logRollSize value checking #5390
Conversation
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Thanks for providing lots of PRs to make HBase more robust. Could you please open an umbrella issue first, and then convert all the related issues as sub tasks of this big issue, so it is easier to track these issues? |
@Apache9 Thank you for your feedback! By an "umbrella issue", do you prefer a GitHub issue or a JIRA ticket? |
A jira ticket please. HBase uses jira for tracking issues. Thanks. |
@Apache9 Thanks! We opened the umbrella issue in Jira: https://issues.apache.org/jira/browse/HBASE-28104 |
Good. Thanks for the effort. Will take a look at these patches soon. |
@@ -462,6 +462,8 @@ protected long getFileNumFromFileName(Path fileName) { | |||
} | |||
|
|||
private int calculateMaxLogFiles(Configuration conf, long logRollSize) { | |||
checkArgument(logRollSize > 0, | |||
"The log roll size cannot be zero or negative when calculating max log files."); |
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.
Better include the value of logRollSize in the error message?
Any updates here? @teamconfx Thanks. |
Ping @teamconfx |
@Apache9 Sorry for the late reply. I added the value in the error message. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…logRollSize value checking (#5390) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Wei-Chiu Chuang <[email protected]> (cherry picked from commit 8be9e51)
…logRollSize value checking (#5390) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Wei-Chiu Chuang <[email protected]> (cherry picked from commit 8be9e51)
…logRollSize value checking (#5390) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Wei-Chiu Chuang <[email protected]> (cherry picked from commit 8be9e51)
…logRollSize value checking (#5390) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Wei-Chiu Chuang <[email protected]> (cherry picked from commit 8be9e51)
…logRollSize value checking (#5390) Signed-off-by: Duo Zhang <[email protected]> Signed-off-by: Wei-Chiu Chuang <[email protected]> (cherry picked from commit 8be9e51)
No description provided.