HBASE-23243 [pv2] Filter out SUCCESS procedures; on decent-sized cluster, plethora overwhelms problems (#790)

Signed-off-by: GuangxuCheng  <guangxucheng@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Michael Stack 2019-11-04 09:15:06 -08:00 committed by stack
parent bbfc73789f
commit 2f8860b1da
2 changed files with 8 additions and 2 deletions

View File

@ -109,7 +109,7 @@
<p> <p>
<span> <span>
There are three cases: 1. Master thought this region opened, but no regionserver reported it (Fix: use assigns There are three cases: 1. Master thought this region opened, but no regionserver reported it (Fix: use assigns
command; 2. Master thought this region opened on Server1, but regionserver reported Server2 (Fix: command); 2. Master thought this region opened on Server1, but regionserver reported Server2 (Fix:
need to check the server is still exist. If not, schedule SCP for it. If exist, restart Server2 and Server1): need to check the server is still exist. If not, schedule SCP for it. If exist, restart Server2 and Server1):
3. More than one regionservers reported opened this region (Fix: restart the RegionServers). 3. More than one regionservers reported opened this region (Fix: restart the RegionServers).
Notice: the reported online regionservers may be not right when there are regions in transition. Notice: the reported online regionservers may be not right when there are regions in transition.

View File

@ -68,6 +68,7 @@
<h1>Procedures</h1> <h1>Procedures</h1>
</div> </div>
</div> </div>
<p>We do not list Procedures that have completed SUCCESSfully; their number makes it hard to spot the problematics.</p>
<table class="table table-striped" width="90%" > <table class="table table-striped" width="90%" >
<tr> <tr>
<th>Id</th> <th>Id</th>
@ -80,7 +81,12 @@
<th>Errors</th> <th>Errors</th>
<th>Parameters</th> <th>Parameters</th>
</tr> </tr>
<% for (Procedure<?> proc : procedures) { %> <% for (Procedure<?> proc : procedures) {
// Don't show SUCCESS procedures.
if (proc.isSuccess()) {
continue;
}
%>
<tr> <tr>
<td><%= proc.getProcId() %></td> <td><%= proc.getProcId() %></td>
<td><%= proc.hasParent() ? proc.getParentProcId() : "" %></td> <td><%= proc.hasParent() ? proc.getParentProcId() : "" %></td>