anchor.diff:        if (sl != null) {
           RegionMetrics regionMetrics = sl.getRegionMetrics().get(regionInfo.getRegionName());
           regionsToLoad.put(regionInfo, regionMetrics);
  -        if(regionMetrics != null) {
  +        if (regionMetrics != null) {
             totalReadReq += regionMetrics.getReadRequestCount();
             totalWriteReq += regionMetrics.getWriteRequestCount();
             totalSize += regionMetrics.getStoreFileSize().get(Size.Unit.MEGABYTE);
             totalStoreFileCount += regionMetrics.getStoreFileCount();
             totalMemSize += regionMetrics.getMemStoreSize().get(Size.Unit.MEGABYTE);
             totalStoreFileSizeMB += regionMetrics.getStoreFileSize().get(Size.Unit.MEGABYTE);
  +          totalCompactingCells += regionMetrics.getCompactingCellCount();
  +          totalCompactedCells += regionMetrics.getCompactedCellCount();
           } else {
             RegionMetrics load0 = getEmptyRegionMetrics(regionInfo);
             regionsToLoad.put(regionInfo, load0);
  
positive.code: <%
    if(fqtn.equals(TableName.META_TABLE_NAME.getNameAsString())) {
  %>
  <%= tableHeader %>
  <tbody>
  <%
    // NOTE: Presumes meta with one or more replicas
    for (int j = 0; j < numMetaReplicas; j++) {
      RegionInfo meta = RegionReplicaUtil.getRegionInfoForReplica(
                              RegionInfoBuilder.FIRST_META_REGIONINFO, j);
      ServerName metaLocation = MetaTableLocator.waitMetaRegionLocation(master.getZooKeeper(), j, 1);
      for (int i = 0; i < 1; i++) {
        String hostAndPort = "";
        String readReq = "N/A";
        String writeReq = "N/A";
        String fileSize = ZEROMB;
        String fileCount = "N/A";
        String memSize = ZEROMB;
        float locality = 0.0f;
  
        if (metaLocation != null) {
          ServerMetrics sl = master.getServerManager().getLoad(metaLocation);
          // The host name portion should be safe, but I don't know how we handle IDNs so err on the side of failing safely.
          hostAndPort = URLEncoder.encode(metaLocation.getHostname()) + ":" + master.getRegionServerInfoPort(metaLocation);
          if (sl != null) {
            Map<byte[], RegionMetrics> map = sl.getRegionMetrics();
            if (map.containsKey(meta.getRegionName())) {
              RegionMetrics load = map.get(meta.getRegionName());
              readReq = String.format("%,1d", load.getReadRequestCount());
              writeReq = String.format("%,1d", load.getWriteRequestCount());
              double rSize = load.getStoreFileSize().get(Size.Unit.BYTE);
              if (rSize > 0) {
              fileSize = StringUtils.byteDesc((long) rSize);
              }
              fileCount = String.format("%,1d", load.getStoreFileCount());
              double mSize = load.getMemStoreSize().get(Size.Unit.BYTE);
              if (mSize > 0) {
              memSize = StringUtils.byteDesc((long)mSize);
              }
              locality = load.getDataLocality();
            }
          }
        }
  %>
  <tr>
    <td><%= escapeXml(meta.getRegionNameAsString()) %></td>
      <td><a href="http://<%= hostAndPort %>/rs-status/"><%= StringEscapeUtils.escapeHtml4(hostAndPort) %></a></td>
      <td><%= readReq%></td>
      <td><%= writeReq%></td>
      <td><%= fileSize%></td>
      <td><%= fileCount%></td>
      <td><%= memSize%></td>
      <td><%= locality%></td>
      <td><%= escapeXml(Bytes.toString(meta.getStartKey())) %></td>
      <td><%= escapeXml(Bytes.toString(meta.getEndKey())) %></td>
  <%
        if (withReplica) {
  %>
      <td><%= meta.getReplicaId() %></td>
  <%
        }
  %>
  </tr>
  <%  } %>
  <%} %>
  </tbody>
  </table>
  <%} else {
    RegionStates states = master.getAssignmentManager().getRegionStates();
    Map<RegionState.State, List<RegionInfo>> regionStates = states.getRegionByStateOfTable(table.getName());
  
negative.code:                 6: {sorter: 'filesize'}
              }
          });
          $("#tableCompactStatsTable").tablesorter({
              headers: {
                  2: {sorter: 'separator'},
                  3: {sorter: 'separator'},
                  4: {sorter: 'separator'}
              }
          });
          $("#metaTableCompactStatsTable").tablesorter({
              headers: {
                  2: {sorter: 'separator'},
                  3: {sorter: 'separator'},
                  4: {sorter: 'separator'}
              }
          });
      }
  );
  </script>
  