new File("target/history", "TestAMManagementWebServices");
org.apache.hadoop.fs.Path
historyPath =
new org.apache.hadoop.fs.Path(historyWorkDir.toURI());
fs.delete(historyPath, true);
appState = new AppState(new MockRecordFactory());
appState.setContainerLimits(RM_MAX_RAM, RM_MAX_CORES);
appState.buildInstance(
factory.newInstanceDefinition(0, 0, 0),
new Configuration(false),
factory.ROLES,