public int getAppStatisticsFailedRetrieved() {
    return numGetAppStatisticsFailedRetrieved.value();
  }
@Test
  public void testGetAppStatisticsRetrievedFailed() {
    long totalBadBefore = metrics.getAppStatisticsFailedRetrieved();
    badSubCluster.getAppStatisticsFailed();
    Assert.assertEquals(totalBadBefore + 1,
        metrics.getAppStatisticsFailedRetrieved());
  }