anchor.diff:          Integer i = regDistribution.get(addr);
           if (null == i) i = Integer.valueOf(0);
           regDistribution.put(addr, i + 1);
  +        if (withReplica && RegionReplicaUtil.isDefaultReplica(regionInfo.getReplicaId())) {
  +          i = primaryRegDistribution.get(addr);
  +          if (null == i) i = Integer.valueOf(0);
  +          primaryRegDistribution.put(addr, i+1);
  +        }
         }
       }
   %>
  
positive.code: </table>
  <%
    Map<ServerName, Integer> regDistribution = new TreeMap<ServerName, Integer>();
    List<HRegionLocation> regions = r.getAllRegionLocations();
    if(regions != null && regions.size() > 0) { %>
  <%=     tableHeader %>
  
negative.code: <tr>
    <td><a href="<%= url %>"><%= addr.getHostname().toString() + ":" + addr.getPort() %></a></td>
    <td><%= rdEntry.getValue()%></td>
  <%
  if (withReplica) {
  %>
    <td><%= primaryRegDistribution.get(addr)%></td>
  <%
  }
  %>
  </tr>
  <% } %>
  </table>
  