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
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