-
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-27037 Display the region server state on the Web UI #4432
Conversation
🎊 +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. |
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
Thanks @pankaj72981 for your review. |
Hi @Apache9 @virajjasani , could you please also take a look. Thanks. |
String masterVersion = VersionInfo.getVersion(); | ||
List<ServerName> decommissionedServers = master.listDecommissionedRegionServers(); |
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 construct a Set here? The contains method run on List is O(n), although usually the number of decommissioned server will be small, but it is still no harm to use a Set here.
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 @Apache9 for your comment. I will update it later.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
Hi @Apache9 , I updated the code, could you please have a look. Thanks a lot. |
Hi @virajjasani , could you please review this. Thanks. |
Signed-off-by: Pankaj Kumar <[email protected]> Signed-off-by: Duo Zhang <[email protected]> (cherry picked from commit db99208)
Signed-off-by: Pankaj Kumar <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
…ache#4432)" This reverts commit 5f87bc8.
JIRA: HBASE-27037.
Display the region server state on the Web UI.