Package eu.stratosphere.api.common

Examples of eu.stratosphere.api.common.PlanExecutor


 
  @Override
  public JobExecutionResult execute(String jobName) throws Exception {
    Plan p = createProgramPlan(jobName);
   
    PlanExecutor executor = PlanExecutor.createRemoteExecutor(host, port, jarFiles);
    return executor.executePlan(p);
  }
View Full Code Here


  public String getExecutionPlan() throws Exception {
    Plan p = createProgramPlan("unnamed");
    p.setDefaultParallelism(getDegreeOfParallelism());
    registerCachedFilesWithPlan(p);
   
    PlanExecutor executor = PlanExecutor.createRemoteExecutor(host, port, jarFiles);
    return executor.getOptimizerPlanAsJSON(p);
  }
View Full Code Here

 
  @Override
  public JobExecutionResult execute(String jobName) throws Exception {
    Plan p = createProgramPlan(jobName);
   
    PlanExecutor executor = PlanExecutor.createLocalExecutor();
    initLogging();
    return executor.executePlan(p);
  }
View Full Code Here

 
  @Override
  public String getExecutionPlan() throws Exception {
    Plan p = createProgramPlan();
   
    PlanExecutor executor = PlanExecutor.createLocalExecutor();
    initLogging();
    return executor.getOptimizerPlanAsJSON(p);
  }
View Full Code Here

TOP

Related Classes of eu.stratosphere.api.common.PlanExecutor

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.