Package com.taobao.zeus.model.JobDescriptor

Examples of com.taobao.zeus.model.JobDescriptor.JobRunType


  @Autowired
  private ClientWorker worker;
  @Override
  public JobModel createJob(String jobName, String parentGroupId, String jobType)
      throws GwtException {
    JobRunType type=null;
    if(JobModel.MapReduce.equals(jobType)){
      type=JobRunType.MapReduce;
    }else if(JobModel.SHELL.equals(jobType)){
      type=JobRunType.Shell;
    }else if(JobModel.HIVE.equals(jobType)){
View Full Code Here


    jd.setCronExpression(jobModel.getCronExpression());
    jd.setDependencies(jobModel.getDependencies());
    jd.setDesc(jobModel.getDesc());
    jd.setGroupId(jobModel.getGroupId());
    jd.setId(jobModel.getId());
    JobRunType type=null;
    if(jobModel.getJobRunType().equals(JobModel.MapReduce)){
      type=JobRunType.MapReduce;
    }else if(jobModel.getJobRunType().equals(JobModel.SHELL)){
      type=JobRunType.Shell;
    }else if(jobModel.getJobRunType().equals(JobModel.HIVE)){
View Full Code Here

TOP

Related Classes of com.taobao.zeus.model.JobDescriptor.JobRunType

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.