public void scheduleAllBatches(RequestExecution requestExecution) throws AmbariException {
    Long firstBatchOrderId = getFirstJobOrderId(requestExecution);
    scheduleBatch(requestExecution, firstBatchOrderId);
  }
Persist jobs based on the request batch and create trigger for the first
job
@param requestExecution
@throws AmbariException
ambari-server/src/main/java/org/apache/ambari/server/scheduler/ExecutionScheduleManager.java