172173174175176177178179180181182
boolean dryrun = false; if (action != null) { dryrun = (action.equals(RestConstants.JOB_ACTION_DRYRUN)); } if (dryrun) { id = dagEngine.dryRunSubmit(conf); } else { id = dagEngine.submitJob(conf, startJob); } json.put(JsonTags.JOB_ID, id);
182183184185186187188189190191192
180181182183184185186187188189190