assert new Path(hdfsUrl).getFileSystem(EmbeddedCluster.newConfiguration()).mkdirs(wfpath);
}
public void testDefCoordMap(Process process, COORDINATORAPP coord) throws Exception {
assertEquals("FALCON_PROCESS_DEFAULT_" + process.getName(), coord.getName());
Validity processValidity = process.getClusters().getClusters().get(0).getValidity();
assertEquals(SchemaHelper.formatDateUTC(processValidity.getStart()), coord.getStart());
assertEquals(SchemaHelper.formatDateUTC(processValidity.getEnd()), coord.getEnd());
assertEquals("${coord:" + process.getFrequency().toString() + "}", coord.getFrequency());
assertEquals(process.getTimezone().getID(), coord.getTimezone());
assertEquals(process.getParallel() + "", coord.getControls().getConcurrency());
assertEquals(process.getOrder().name(), coord.getControls().getExecution());