FSSchedulerConfigurationStore extends YarnConfigurationStore { @Override public Configuration retrieve() throws IOException { return getConfigurationFromFileSystem(); }  @Override void initialize(Configuration conf, Configuration vSchedConf,
      RMContext rmContext); @Override void logMutation(LogMutation logMutation); @Override void confirmMutation(boolean isValid); @Override Configuration retrieve(); @Override List<LogMutation> getConfirmedConfHistory(long fromId); void close(); static final Log LOG; }
@Test public void retrieve() throws Exception { Configuration schedulerConf = new Configuration(); schedulerConf.set("a", "a"); schedulerConf.setLong("long", 1L); schedulerConf.setBoolean("boolean", true); writeConf(schedulerConf); configurationStore.initialize(conf, conf, null); Configuration storedConfig = configurationStore.retrieve(); compareConfig(schedulerConf, storedConfig); }