OOZIE-113: ${wf:lastErrorNode()} is not set when an action ends in error
------------------------------------------------------------------------

                 Key: OOZIE-530
                 URL: https://issues.apache.org/jira/browse/OOZIE-530
             Project: Oozie
          Issue Type: Bug
            Reporter: Angelo K. Huang
            Assignee: Angelo K. Huang


ActionEndCommand is done in.
http://oozie-jira.hadoop.developer.yahoo.net/browse/OOZIE-101

This bug is for ACtionEndXCommand:
The ACtionEndXCommand logic currently invokes 
DagELFunctions.setActionInfo(wfInstance, action); first and then invokes 
executor.end(context, action);

The problem is that until executor.end is invoked the action status is DONE, 
the executor.end method is responsible for converting the external status to 
OK/ERROR.

The order of invocation of these 2 methods should be swapped.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to