-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-28419 Allow Action and Policies of ServerKillingMonkey to be configurable. #5743
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
…onfigurable. Add one more configurable timeout. Add the same to ServerKillingMonkeyFactory. (cherry picked from commit 0c2ad05297b5f8bca864e7a74099d1bb104f3059)
|
🎊 +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. |
|
🎊 +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. |
ndimiduk
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.
Thank you!
| String UNBALANCE_WAIT_AFTER_BALANCE_MS = "unbalance.action.wait.after.period"; | ||
| String UNBALANCE_KILL_META_RS = "unbalance.action.kill.meta.rs"; | ||
| String DECREASE_HFILE_SIZE_SLEEP_TIME = "decrease.hfile.size.sleep.time"; | ||
| String RESTART_RANDOM_RS_EXCEPTION_SLEEP_TIME = "restart.random.rs.exception.sleep.time"; |
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.
Can you give these configs a unit? It's always seconds? At least use TimeUnit to define the default values so that developer intent is clear.
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.
These are in milliseconds. Updated the PR to use TmeUnit.
|
🎊 +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. |
ndimiduk
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.
Fair enough. Thanks.
|
Thanks @ndimiduk merging it to master branch. |
…key to be configurable. (apache#5743) Signed-off-by: Nick Dimiduk <[email protected]> Change-Id: I3023800b61e00820377578720af712bc0dfba760
…key to be configurable. (apache#5743) Signed-off-by: Nick Dimiduk <[email protected]> Change-Id: I3023800b61e00820377578720af712bc0dfba760 (cherry picked from commit 7b424b2)
…key to be configurable. (apache#5743) Signed-off-by: Nick Dimiduk <[email protected]> Change-Id: I3023800b61e00820377578720af712bc0dfba760 (cherry picked from commit 7b424b2)
For ServerKillingMonkeyFactory, the sleep time of the following actions are configurable via:
For ServerAndDependenciesKillingMonkeyFactory: