OOZIE-101: ${wf:lastErrorNode()} is not set when an action ends in error
------------------------------------------------------------------------
Key: OOZIE-518
URL: https://issues.apache.org/jira/browse/OOZIE-518
Project: Oozie
Issue Type: Bug
Reporter: Alejandro Abdelnur
Assignee: Alejandro Abdelnur
Priority: Critical
The ACtionEndCommand 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