[
https://issues.apache.org/jira/browse/OOZIE-707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419718#comment-13419718
]
Mohammad Kamrul Islam commented on OOZIE-707:
---------------------------------------------
+1
> 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
> Assignee: 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