use of edu.iu.dsc.tws.task.cdfw.DataFlowJobConfig in project twister2 by DSC-SPIDAL.
the class BatchTSetCDFWEnvironment method executeBuildContext.
@Override
protected void executeBuildContext(BuildContext buildContext) {
DataFlowJobConfig dafaFlowJobConfig = new DataFlowJobConfig();
DataFlowGraph job = DataFlowGraph.newSubGraphJob("hello", buildContext.getComputeGraph()).setWorkers(2).addDataFlowJobConfig(dafaFlowJobConfig).setGraphType("non-iterative");
cdfwEnv.executeDataFlowGraph(job);
}
Aggregations