@VisibleForTesting
  static Configuration getConfiguration() {
    Configuration conf = new HdfsConfiguration();
    conf.addResource(FedBalance.FED_BALANCE_DEFAULT_XML);
    conf.addResource(FedBalance.FED_BALANCE_SITE_XML);
    return conf;
  }
@Test
  public void testDefaultConfigs() {
    Configuration configuration = DFSRouter.getConfiguration();
    String journalUri =
        configuration.get(FedBalanceConfigs.SCHEDULER_JOURNAL_URI);
    int workerThreads =
        configuration.getInt(FedBalanceConfigs.WORK_THREAD_NUM, -1);
    Assert.assertEquals("hdfs://localhost:8020/tmp/procedure", journalUri);
    Assert.assertEquals(10, workerThreads);
  }