-
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-27717 Add rsgroup name for dead region servers on master UI #5330
Conversation
🎊 +1 overall
This message was automatically generated. |
inMgr = master.getRSGroupInfoManager(); | ||
} | ||
for (ServerName deadServerName: deadServerNames) { | ||
String rsGroupName = "default"; |
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.
RSGroupInfo.DEFAULT_GROUP
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.
great,thank you
</%java> | ||
<tr> | ||
<th></th> | ||
<td><% deadServerName %></td> | ||
<td><% deadServerUtil.getTimeOfDeath(deadServerName) %></td> | ||
<%if !master.isInMaintenanceMode() && master.getMasterCoprocessorHost() != null %> |
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.
Set the rsGroupName be null as default, and here use condition if(rsGroupName!=null)
💔 -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. |
LGTM. |
) Co-authored-by: xieyupei <xieyupei@meituan.com> Signed-off-by: Xiaolin Ha <haxiaolin@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 712254b)
No description provided.