[ 
https://issues.apache.org/jira/browse/OOZIE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13143321#comment-13143321
 ] 

[email protected] commented on OOZIE-587:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2573/
-----------------------------------------------------------

(Updated 2011-11-03 17:05:20.297847)


Review request for oozie, Mohammad Islam and Angelo K. Huang.


Changes
-------

Reviewer's feedback addressed


Summary
-------

Bug oozie-587
Summary: https://issues.apache.org/jira/browse/OOZIE-587


This addresses bug OOZIE-587.
    https://issues.apache.org/jira/browse/OOZIE-587


Diffs (updated)
-----

  trunk/core/src/main/java/org/apache/oozie/CoordinatorActionBean.java 1197188 
  
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordActionCheckXCommand.java
 1197188 
  
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordKillXCommand.java 
1197188 
  
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordResumeXCommand.java
 1197188 
  
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordSuspendXCommand.java
 1197188 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordActionGetJPAExecutor.java
 1197188 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordActionUpdateStatusJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsNotCompletedJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsRunningJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsStatusByPendingFalseJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsSuspendedJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetPendingActionsCountJPAExecutor.java
 PRE-CREATION 
  trunk/core/src/main/java/org/apache/oozie/service/StatusTransitService.java 
1197188 
  
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordActionUpdateStatusJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsNotCompletedJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsRunningJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsStatusByPendingFalseJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsSuspendedJPAExecutor.java
 PRE-CREATION 
  
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetPendingActionsCountJPAExecutor.java
 PRE-CREATION 
  trunk/release-log.txt 1197188 

Diff: https://reviews.apache.org/r/2573/diff


Testing
-------

Added test cases for JPAExecutor. Tested against current test cases.


Thanks,

Virag


                
> Out of memory issues due to current query design
> ------------------------------------------------
>
>                 Key: OOZIE-587
>                 URL: https://issues.apache.org/jira/browse/OOZIE-587
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Virag Kothari
>
> There are services which run at regular intervals (StatusTransitService) and 
> loads all the coordinator actions of a job in memory. Also Kill, Suspend and 
> Resume commands bring all the coordinators actions of a job in memory. When 
> the user had a couple of coordinator jobs each with around 10,000 actions, it 
> caused an out of memory issue. 
> Solution: 
> Only required actions should be brought (through better use of sql seleciton 
> and projection operators). "Select *" clause should be avoided unless 
> necessary.  

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

        

Reply via email to