Path bundlePath = new Path(ClusterHelper.getLocation(cluster, "staging"), EntityUtil.getStagingPath(process));
Process processClone = (Process) process.clone();
EntityUtil.setStartDate(processClone, clusterName, startDate);
OozieProcessMapper mapper = new OozieProcessMapper(processClone);
if(!mapper.map(cluster, bundlePath)){
return null;
}
Properties properties = createAppProperties(clusterName, bundlePath, user);