exporters,
finalizers);
}
private List<TestExecutionPlan.Job> resolveJobs(FlowScript flow, ExecutionPhase phase) throws IOException {
ExecutionContext context = createExecutionContext(flow, phase);
List<TestExecutionPlan.Job> results = new ArrayList<TestExecutionPlan.Job>();
for (ExecutionScript script : flow.getScripts().get(phase)) {
HadoopScript resolved = (HadoopScript) resolveScript(script, context);
Map<String, String> props = new TreeMap<String, String>();
props.putAll(getHadoopProperties());
props.putAll(resolved.getHadoopProperties());
results.add(new TestExecutionPlan.Job(
resolved.getClassName(),
context.getExecutionId(),
props));
}
return results;
}