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

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-8090
    https://issues.apache.org/jira/browse/AMBARI-8090


Repository: ambari


Description
-------

PROBLEM: Low Catalina memory setting cause JVM crash. What we saw in JPMC was
that PID was not cleaned up and Oozie restart via Ambari failed.

BUSINESS IMPACT: users cannot control Oozie via Ambari

STEPS TO REPRODUCE: make process run OOM

SUPPORT ANALYSIS: What we saw in JPMC that the PID failed to cleanup because
process and pid in /var/run/oozie ran under different process id and
catalina.out file contained OOM errors.

We increased memory setting to:

    
    
    
    export CATALINA_OPTS= -Xmx2048m -XX:MaxPermSize=256m
    

We should set adequate setting with default install.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog170.java
 27d317e 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/configuration/oozie-env.xml
 4f8c93a 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/params.py
 fbe032d 
  
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog170Test.java
 acda6a6 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk

Reply via email to