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

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


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

Ship it!


+1

- Santhosh


On 2011-11-03 17:05:20, Virag Kothari wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/2573/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2011-11-03 17:05:20)
bq.  
bq.  
bq.  Review request for oozie, Mohammad Islam and Angelo K. Huang.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  Bug oozie-587
bq.  Summary: https://issues.apache.org/jira/browse/OOZIE-587
bq.  
bq.  
bq.  This addresses bug OOZIE-587.
bq.      https://issues.apache.org/jira/browse/OOZIE-587
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    trunk/core/src/main/java/org/apache/oozie/CoordinatorActionBean.java 
1197188 
bq.    
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordActionCheckXCommand.java
 1197188 
bq.    
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordKillXCommand.java 
1197188 
bq.    
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordResumeXCommand.java
 1197188 
bq.    
trunk/core/src/main/java/org/apache/oozie/command/coord/CoordSuspendXCommand.java
 1197188 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordActionGetJPAExecutor.java
 1197188 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordActionUpdateStatusJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsNotCompletedJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsRunningJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsStatusByPendingFalseJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetActionsSuspendedJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/executor/jpa/CoordJobGetPendingActionsCountJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/main/java/org/apache/oozie/service/StatusTransitService.java 
1197188 
bq.    
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordActionUpdateStatusJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsNotCompletedJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsRunningJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsStatusByPendingFalseJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetActionsSuspendedJPAExecutor.java
 PRE-CREATION 
bq.    
trunk/core/src/test/java/org/apache/oozie/executor/jpa/TestCoordJobGetPendingActionsCountJPAExecutor.java
 PRE-CREATION 
bq.    trunk/release-log.txt 1197188 
bq.  
bq.  Diff: https://reviews.apache.org/r/2573/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  Added test cases for JPAExecutor. Tested against current test cases.
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Virag
bq.  
bq.


                
> 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