You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Virag Kothari (JIRA)" <ji...@apache.org> on 2012/07/20 03:37:33 UTC
[jira] [Updated] (OOZIE-707) Suspending a paused coordinator job
suspends the children but the status of job remains unchanged
[ https://issues.apache.org/jira/browse/OOZIE-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Virag Kothari updated OOZIE-707:
--------------------------------
Attachment: OOZIE-707.patch
Suspending a PAUSED bundle/coord job will change its status to SUSPENDED
> Suspending a paused coordinator job suspends the children but the status of job remains unchanged
> -------------------------------------------------------------------------------------------------
>
> Key: OOZIE-707
> URL: https://issues.apache.org/jira/browse/OOZIE-707
> Project: Oozie
> Issue Type: Bug
> Reporter: Virag Kothari
> Attachments: OOZIE-707.patch
>
>
> When the job is suspended, we are not checking if the status was paused or not.
> The related code snippet from CoordSuspendXcommand is below:
> if (coordJob.getStatus() == Job.Status.PREP) {
> coordJob.setStatus(Job.Status.PREPSUSPENDED);
> coordJob.setStatus(StatusUtils.getStatus(coordJob));
> }
> else if (coordJob.getStatus() == Job.Status.RUNNING) {
> coordJob.setStatus(Job.Status.SUSPENDED);
> }
> coordJob.setPending();
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira