Search in sources :

Example 1 with DataFlowJobConfig

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);
}
Also used : DataFlowJobConfig(edu.iu.dsc.tws.task.cdfw.DataFlowJobConfig) DataFlowGraph(edu.iu.dsc.tws.task.cdfw.DataFlowGraph)

Aggregations

DataFlowGraph (edu.iu.dsc.tws.task.cdfw.DataFlowGraph)1 DataFlowJobConfig (edu.iu.dsc.tws.task.cdfw.DataFlowJobConfig)1