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

Hadoop QA commented on OOZIE-2542:
----------------------------------

Testing JIRA OOZIE-2542

Cleaning local git workspace

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:red}-1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:red}-1{color} the patch contains 2 line(s) longer than 132 
characters
.    {color:red}-1{color} the patch does not add/modify any testcase
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 BACKWARDS_COMPATIBILITY{color}
.    {color:green}+1{color} the patch does not change any JPA 
Entity/Colum/Basic/Lob/Transient annotations
.    {color:green}+1{color} the patch does not modify JPA files
{color:green}+1 TESTS{color}
.    Tests run: 1782
{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/oozie-trunk-precommit-build/2922/

> Option to  disable OpenJPA BrokerImpl finalization 
> ---------------------------------------------------
>
>                 Key: OOZIE-2542
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2542
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Purshotam Shah
>            Assignee: Purshotam Shah
>         Attachments: OOZIE-2542-V1.patch, OOZIE-2542-V2.patch
>
>
> We noticed that GC is taking a long time in our production. Looking at the 
> live objects, we can see a lot of FinalizingBrokerImpl.
> {code}
>   10:         33881        8402488  
> org.apache.openjpa.kernel.FinalizingBrokerImpl
>   15:         91943        3677720  java.lang.ref.Finalizer
> 1134:             1            384  java.lang.ref.Finalizer$FinalizerThread
> 1672:             4            128  
> org.apache.hadoop.yarn.proto.YarnProtos$FinalApplicationStatusProto
> 1926:             4             96  
> org.apache.hadoop.yarn.api.records.FinalApplicationStatus
> {code}
> By default Broker Finalization is enable to safeguard the accidental resource 
> leaks that may occur if a developer fails to explicitly close EntityManagers 
> when finished. Since we are closing all EntityManagers on final block. We 
> should not have any issue.
> More details @ 
> http://openjpa.apache.org/builds/1.2.3/apache-openjpa/docs/ref_guide_optimization.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to