[
https://issues.apache.org/jira/browse/OOZIE-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mona Chitnis updated OOZIE-1442:
--------------------------------
Attachment: removed_unit_test_section.txt
> Purge rogue and stale entries from history set
> ----------------------------------------------
>
> Key: OOZIE-1442
> URL: https://issues.apache.org/jira/browse/OOZIE-1442
> Project: Oozie
> Issue Type: Sub-task
> Affects Versions: trunk
> Reporter: Mona Chitnis
> Priority: Minor
> Fix For: trunk
>
> Attachments: removed_unit_test_section.txt
>
>
> A database exception can while confirming an END_MISS event in 2 scenarios:
> 1) sla end_miss for workflow_action occurring way before action was even
> inserted into Oozie DB, because of the sla timings provided by user
> 2) rogue job in memory map, but actually missing from database
> Such an exception is currently handled to continue with the end_miss event,
> to proceed with the processing. Removing an entry from tracking, on
> exception, only caters to case 2 but not case 1 (valid). So something like a
> purge should be done on SLA Calculator Memory history set to get rid of any
> rogue entries, and free up resources.
--
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