anchor.diff:    }
     String action = request.getParameter("action");
     String key = request.getParameter("key");
  +  long totalStoreFileSizeMB = 0;
  +
  +  final String numRegionsParam = request.getParameter("numRegions");
  +  // By default, the page render up to 10000 regions to improve the page load time
  +  int numRegionsToRender = 10000;
  +  if (numRegionsParam != null) {
  +    // either 'all' or a number
  +    if (numRegionsParam.equals("all")) {
  +      numRegionsToRender = -1;
  +    } else {
  +      try {
  +        numRegionsToRender = Integer.parseInt(numRegionsParam);
  +      } catch (NumberFormatException ex) {
  +        // ignore
  +      }
  +    }
  +  }
  +  int numRegions = 0;
  +
   %>
   <!--[if IE]>
   <!DOCTYPE html>
  
positive.code:         }
        }
      }
  %>
  <tr>
    <td><%= escapeXml(showWhole?Bytes.toStringBinary(regionInfo.getRegionName()):regionInfo.getEncodedName()) %></td>
  
negative.code:           totalSize += regionload.getStorefileSizeMB();
            totalStoreFileCount += regionload.getStorefiles();
            totalMemSize += regionload.getMemStoreSizeMB();
            totalStoreFileSizeMB += regionload.getStorefileSizeMB();
          } else {
            RegionLoad load0 = new RegionLoad(ClusterStatusProtos.RegionLoad.newBuilder().setRegionSpecifier(HBaseProtos.RegionSpecifier.newBuilder().setValue(ByteString.copyFrom(regionInfo.getRegionName())).build()).build());
            regionsToLoad.put(regionInfo, load0);
  