anchor.diff:      </div>
     </div>
   
  -
  -
     <% if (inconsistentRegions != null && inconsistentRegions.size() > 0) { %>
     <div class="row">
       <div class="page-header">
  
positive.code: <%@ page import="org.apache.hadoop.hbase.client.RegionInfo" %>
  <%@ page import="org.apache.hadoop.hbase.master.HbckChore" %>
  <%@ page import="org.apache.hadoop.hbase.master.HMaster" %>
  <%@ page import="org.apache.hadoop.hbase.ServerName" %>
  <%@ page import="org.apache.hadoop.hbase.util.Bytes" %>
  <%@ page import="org.apache.hadoop.hbase.util.Pair" %>
  <%@ page import="org.apache.hadoop.hbase.master.CatalogJanitor" %>
  <%@ page import="org.apache.hadoop.hbase.master.CatalogJanitor.Report" %>
  <%
    HMaster master = (HMaster) getServletContext().getAttribute(HMaster.MASTER);
    pageContext.setAttribute("pageTitle", "HBase Master HBCK Report: " + master.getServerName());
    HbckChore hbckChore = master.getHbckChore();
    Map<String, Pair<ServerName, List<ServerName>>> inconsistentRegions = null;
  
negative.code: </div>
  
  <jsp:include page="footer.jsp"/>
  
  <%!
  /**
   * Format serverName for display.
   * If a live server reference, make it a link.
   * If dead, make it italic.
   * If unknown, make it plain.
   */
  private static String formatServerName(HMaster master,
     ServerManager serverManager, ServerName serverName) {
    String sn = serverName.toString();
    if (serverManager.isServerOnline(serverName)) {
      int infoPort = master.getRegionServerInfoPort(serverName);
      if (infoPort > 0) {
        return "<a href=" + "//" + serverName.getHostname() + ":" +
          infoPort + "/rs-status>" + sn + "</a>";
      } else {
        return "<b>" + sn + "</b>";
      }
    } else if (serverManager.isServerDead(serverName)) {
      return "<i>" + sn + "</i>";
    }
    return sn;
  }
  %>
  