public int getDumpSchedulerLogsFailedRetrieved() {
    return numDumpSchedulerLogsFailedRetrieved.value();
  }
@Test
  public void testDumpSchedulerLogsRetrievedFailed() {
    long totalBadBefore = metrics.getDumpSchedulerLogsFailedRetrieved();
    badSubCluster.getDumpSchedulerLogsFailed();
    Assert.assertEquals(totalBadBefore + 1,
        metrics.getDumpSchedulerLogsFailedRetrieved());
  }