anchor.diff:  </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;
  +}
  +%>
  
positive.code:   <div class="row">
      <div class="page-header">
        <h2>Orphan Regions on RegionServer</h2>
      </div>
    </div>
        <p>
          <span>
            The below are Regions we've lost account of. To be safe, run bulk load of any data found in these Region orphan directories back into the HBase cluster.
            First make sure hbase:meta is in healthy state; run 'hbkc2 fixMeta' to be sure. Once this is done, per Region below, run a bulk
            load -- '$ hbase completebulkload REGION_DIR_PATH TABLE_NAME' -- and then delete the desiccated directory content (HFiles are removed upon successful load; all that is left are empty directories
            and occasionally a seqid marking file).
          </span>
        </p>
  
    <table class="table table-striped">
      <tr>
        <th>Region Name</th>
        <th>Reported Online RegionServer</th>
      </tr>
      <% for (Map.Entry<String, ServerName> entry : orphanRegionsOnRS.entrySet()) { %>
      <tr>
        <td><%= entry.getKey() %></td>
        <td><%= entry.getValue() %></td>
      </tr>
      <% } %>
  
      <p><%= orphanRegionsOnRS.size() %> region(s) in set.</p>
    </table>
    <% } %>
  
    <% if (orphanRegionsOnFS != null && orphanRegionsOnFS.size() > 0) { %>
    <div class="row">
      <div class="page-header">
        <h2>Orphan Regions on FileSystem</h2>
      </div>
    </div>
  
    <table class="table table-striped">
      <tr>
        <th>Region Encoded Name</th>
  
negative.code:       <th>Location in META</th>
        <th>Reported Online RegionServers</th>
      </tr>
      <% for (Map.Entry<String, Pair<ServerName, List<ServerName>>> entry : inconsistentRegions.entrySet()) {%>
      <tr>
        <td><%= entry.getKey() %></td>
        <td><%= formatServerName(master, serverManager, entry.getValue().getFirst()) %></td>
        <td><%= entry.getValue().getSecond().stream().map(s -> formatServerName(master, serverManager, s)).
          collect(Collectors.joining(", ")) %></td>
      </tr>
      <% } %>
      <p><%= inconsistentRegions.size() %> region(s) in set.</p>
    </table>
    <% } %>
  