String type, LocationType locType, COORDINATORAPP coord,
Map<String, String> props, String instance) throws FalconException {
SYNCDATASET dataset = createDataSet(feed, cluster, name + type,
locType);
coord.getDatasets().getDatasetOrAsyncDataset().add(dataset);
DATAOUT dataout = new DATAOUT();
if (coord.getOutputEvents() == null) {
coord.setOutputEvents(new OUTPUTEVENTS());
}
dataout.setName(name + type);
dataout.setDataset(name + type);
dataout.setInstance(getELExpression(instance));
coord.getOutputEvents().getDataOut().add(dataout);
String outputExpr = "${coord:dataOut('" + name + type + "')}";
props.put(name + "." + type, outputExpr);
}