String outputDir = conf.getProperty(MAPRED_OUTPUT);
if (outputDir == null) {
throw new OozieCLIException("output dir (" + MAPRED_OUTPUT +") must be specified in conf");
}
System.out.println(JOB_ID_PREFIX + wc.submitMapReduce(conf));
}
catch (OozieClientException ex) {
throw new OozieCLIException(ex.toString(), ex);
}
}