Assert.notNull(jobParameters, "JobParameters must not be null.");
JobExecution jobExecution = null;
try {
CreateJobExecutionWithJobInstanceReq request = JobRepositoryRpcFactory.buildCreateJobExecutionWithJobInstanceReq(jobInstance, jobParameters, jobConfigurationLocation);
CreateJobExecutionWithJobInstanceRes response = (CreateJobExecutionWithJobInstanceRes) getAppmasterScOperations().doMindRequest(request);
jobExecution = JobRepositoryRpcFactory.convertJobExecutionType(response.jobExecution);
} catch (Exception e) {
throw convertException(e);
}
return jobExecution;