You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Andrew Onischuk <ao...@hortonworks.com> on 2014/11/01 13:43:12 UTC

Review Request 27462: Make Oozie memory setting higher with default installation

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


Re: Review Request 27462: Make Oozie memory setting higher with default installation

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27462/#review59466
-----------------------------------------------------------

Ship it!


Ship It!

- Dmytro Sen


On Ноя. 1, 2014, 12:43 п.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27462/
> -----------------------------------------------------------
> 
> (Updated Ноя. 1, 2014, 12:43 п.п.)
> 
> 
> Review request for Ambari, Andrew Onischuk 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
> 
>


Re: Review Request 27462: Make Oozie memory setting higher with default installation

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27462/#review59465
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On Nov. 1, 2014, 12:43 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27462/
> -----------------------------------------------------------
> 
> (Updated Nov. 1, 2014, 12:43 p.m.)
> 
> 
> Review request for Ambari, Andrew Onischuk 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
> 
>


Re: Review Request 27462: Make Oozie memory setting higher with default installation

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27462/
-----------------------------------------------------------

(Updated Nov. 1, 2014, 12:43 p.m.)


Review request for Ambari, Andrew Onischuk 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