private JobGraph getJobGraph(final Plan plan) throws Exception {
final PactCompiler pc = new PactCompiler(new DataStatistics());
final OptimizedPlan op = pc.compile(plan);
final NepheleJobGraphGenerator jgg = new NepheleJobGraphGenerator();
return jgg.compileJobGraph(op);
}
public void setTaskManagerNumSlots(int taskManagerNumSlots) { this.taskManagerNumSlots = taskManagerNumSlots; }
public int getTaskManagerNumSlots() { return this.taskManagerNumSlots; }