Mona Chitnis created OOZIE-1401:
-----------------------------------

             Summary: PurgeCommand should purge the workflow jobs w/o end_time
                 Key: OOZIE-1401
                 URL: https://issues.apache.org/jira/browse/OOZIE-1401
             Project: Oozie
          Issue Type: Sub-task
    Affects Versions: trunk
            Reporter: Mona Chitnis
             Fix For: trunk


Currently, Purge logic is not working with those workflow jobs with 
end_time=null. This command needs to take care of those jobs as well. This 
happens in the case of long stuck jobs after Hadoop restarts or DB failures. It 
could be done by checking created_time if end_time is not available.

The current query:
select w from WorkflowJobBean w where w.endTimestamp < :endTime


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to