public int getSchedulerConfigurationFailedRetrieved() {
    return numGetSchedulerConfigurationFailedRetrieved.value();
  }
@Test
  public void testGetSchedulerConfigurationRetrievedFailed() {
    long totalBadBefore = metrics.getSchedulerConfigurationFailedRetrieved();
    badSubCluster.getSchedulerConfigurationFailed();
    Assert.assertEquals(totalBadBefore + 1,
        metrics.getSchedulerConfigurationFailedRetrieved());
  }