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

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


    Assert.notNull(jobParameters, "JobParameters must not be null.");

    JobInstance jobInstance = null;
    try {
      CreateJobInstanceReq request = JobRepositoryRpcFactory.buildCreateJobInstanceReq(jobName, jobParameters);
      CreateJobInstanceRes response = (CreateJobInstanceRes) getAppmasterScOperations().doMindRequest(request);
      jobInstance = JobRepositoryRpcFactory.convertJobInstanceType(response.jobInstance);
    } catch (Exception e) {
      throw convertException(e);
    }
    return jobInstance;
View Full Code Here

TOP

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

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.