ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sid Wagle" <swa...@hortonworks.com>
Subject Re: Review Request 31891: AMS-HBase crashes due to memory setting greater than physical memory available
Date Tue, 10 Mar 2015 16:26:44 GMT

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



ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
<https://reviews.apache.org/r/31891/#comment123210>

    1. The warning looks very dangerous, lets tone it down to: It is recommended to host Ambari
Metrics with to ensure there is enough RAM avaialble for embedded HBase.
    2. We should throw this warning after checking memory so if ther is 64 GB avaialble memory
and there is 1 or 2 masters, we can ignore the warning. How about for now lets say more than
2 masters and if memory is less that 32 GB, throw warning?


- Sid Wagle


On March 10, 2015, 3:39 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31891/
> -----------------------------------------------------------
> 
> (Updated March 10, 2015, 3:39 p.m.)
> 
> 
> Review request for Ambari, Myroslav Papirkovskyy and Sid Wagle.
> 
> 
> Bugs: AMBARI-10008
>     https://issues.apache.org/jira/browse/AMBARI-10008
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> [root@perf1]# free -m
>              total       used       free     shared    buffers     cached
> Mem:          3578       2666        912          0         13        795
> -/+ buffers/cache:       1857       1721
> Swap:            0          0          0
> [root@perf1]# ps aux | grep ams
> ams      31255  0.0  0.0 106096  1456 ?        S    00:34   0:00 bash /usr/lib/ams-hbase/bin/hbase-daemon.sh
--config /etc/ams-hbase/conf internal_start master
> ams      31268 32.6 18.0 13601208 662980 ?     Sl   00:34   1:24 /usr/jdk64/jdk1.7.0_67/bin/java
-Dproc_master -XX:OnOutOfMemoryError=kill -9 %p -Xmx12288m -XX:+UseConcMarkSweepGC -XX:ErrorFile=/var/log/ambari-metrics-collector/hs_err_pid%p.log
-Djava.io.tmpdir=/grid/0/var/lib/ambari-metrics-collector/hbase-tmp -Djava.library.path=/usr/lib/ams-hbase/lib/hadoop-native/
-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/var/log/ambari-metrics-collector/gc.log-201503040034
-Xmx12288m -Dhbase.log.dir=/var/log/ambari-metrics-collector -Dhbase.log.file=hbase-ams-master-perf-400-3mar-b-ams-1.log
-Dhbase.home.dir=/usr/lib/ams-hbase/bin/.. -Dhbase.id.str=ams -Dhbase.root.logger=INFO,RFA
-Dhbase.security.logger=INFO,RFAS org.apache.hadoop.hbase.master.HMaster start
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 08d3ef5

>   ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py a7eb98c 
> 
> Diff: https://reviews.apache.org/r/31891/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message