You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Jaydeep Vishwakarma (JIRA)" <ji...@apache.org> on 2014/10/15 12:36:34 UTC
[jira] [Updated] (OOZIE-2001) Workflow re-runs doesn't update coord
action status
[ https://issues.apache.org/jira/browse/OOZIE-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaydeep Vishwakarma updated OOZIE-2001:
---------------------------------------
Attachment: OOZIE-2001-v1.patch
Fix the head
> Workflow re-runs doesn't update coord action status
> ---------------------------------------------------
>
> Key: OOZIE-2001
> URL: https://issues.apache.org/jira/browse/OOZIE-2001
> Project: Oozie
> Issue Type: Bug
> Reporter: Shwetha G S
> Assignee: Jaydeep Vishwakarma
> Attachments: OOZIE-2001-v1.patch, OOZIE-2001.patch, rerun-0.patch
>
>
> When a workflow is re-run, the corresponding coord action status is not updated and coord action stays in killed state. This gives wrong impression that coord action is not running which is not the case
> SignalXCommand:
> {code}
> // Changing to synchronous call from asynchronous queuing to prevent
> // undue delay from between end of previous and start of next action
> if (wfJob.getStatus() != WorkflowJob.Status.RUNNING
> && wfJob.getStatus() != WorkflowJob.Status.SUSPENDED) {
> // only for asynchronous actions, parent coord action's external id will
> // persisted and following update will succeed.
> updateParentIfNecessary(wfJob);
> new WfEndXCommand(wfJob).call(); // To delete the WF temp dir
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)