You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oozie.apache.org by "Roman Shaposhnik (JIRA)" <ji...@apache.org> on 2011/09/10 05:39:09 UTC

[jira] [Closed] (OOZIE-157) GH-141: Oozie uses excessive memory when doing purging

     [ https://issues.apache.org/jira/browse/OOZIE-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Shaposhnik closed OOZIE-157.
----------------------------------

    Resolution: Fixed

> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira