Package org.springframework.yarn.batch.repository.bindings.repo

Examples of org.springframework.yarn.batch.repository.bindings.repo.CreateJobExecutionWithJobInstanceRes


    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;
View Full Code Here

TOP

Related Classes of org.springframework.yarn.batch.repository.bindings.repo.CreateJobExecutionWithJobInstanceRes

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.