use of org.apache.oozie.client.WorkflowAction in project oozie by apache.
the class TestMapReduceActionExecutor method submitAction.
protected String submitAction(Context context) throws Exception {
MapReduceActionExecutor ae = new MapReduceActionExecutor();
WorkflowAction action = context.getAction();
ae.prepareActionDir(getFileSystem(), context);
ae.submitLauncher(getFileSystem(), context, action);
return context.getAction().getExternalId();
}
Aggregations