[
https://issues.apache.org/jira/browse/OOZIE-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Abdelnur updated OOZIE-157:
-------------------------------------
Fix Version/s: pre-Apache
> GH-141: Oozie uses excessive memory when doing purging
> ------------------------------------------------------
>
> Key: OOZIE-157
> URL: https://issues.apache.org/jira/browse/OOZIE-157
> Project: Oozie
> Issue Type: Bug
> Reporter: Hadoop QA
> Fix For: pre-Apache
>
>
> When there are many coordinator jobs/actions eligible for purge, Oozie
> becomes a memory hog when purging these jobs/actions. Oozie will purge
> coordinator actions first then coordinator jobs within one transaction. First
> we delete some actions and then we have select count queries on actions, this
> causes OpenJPA to create a large number of CoordinatorActionBean objects -
> eating up lots of memory.
> To fix this, we need to have two transactions, one for deleting actions and
> one for deleting jobs. Then we will not run into this scenario where you have
> select count queries on some table with uncommitted changes.
--
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