[
https://issues.apache.org/jira/browse/AMBARI-6484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074536#comment-14074536
]
Azwaw OUSADOU commented on AMBARI-6484:
---------------------------------------
I join new patch with your changes and a test.
Build and install on centos 6 :
mvn versions:set -DnewVersion=${AMBARI_VERSION}
mvn -B clean install package rpm:rpm -DnewVersion=${AMBARI_VERSION} -DskipTests
-Dpython.ver="python >= 2.6" -Preplaceurl
on ambari server :
copy
ambari-server/target/rpm/ambari-server/RPMS/noarch/ambari-server-*.noarch.rpm
on server
with root access right : yum install ambari-server-*.noarch.rpm
on ambari clients (3 servers used for test) :
copy ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ambari-agent-*.rpm on
each servers
with root access right : yum install ambari-agent-*.noarch.rpm
TEST :
- Deploy an empty Ambari Cluster with 3 RegionServers
- At step "Customise Services" of installer, check new parameters in HBASE tab
:
* hbase.regionserver.xmn.max with value 512
* hbase.regionserver.xmn.ratio with value 0.2
- Change this value to 768 and 0.9 and finish installation
- When regionservers started do "ps ax | grep RegionServer" on each
RegionServer and check -Xmn parameters is 768m
- When installation done change this parameters to 600 and 0.5, save changes
and restart regionservers
- Do "ps ax | grep RegionServer" on each RegionServer and check -Xmn
parameters is 512m
OUTPUT of mvn clean test with my patch is in file AMBARI-6484-TEST-OUTPUT.txt
and MASTER-TEST-OUTPUT.txt on master without my patch
> HBase RegionServer -Xmn must be configurable
> --------------------------------------------
>
> Key: AMBARI-6484
> URL: https://issues.apache.org/jira/browse/AMBARI-6484
> Project: Ambari
> Issue Type: Bug
> Affects Versions: 1.7.0
> Reporter: Azwaw OUSADOU
> Priority: Critical
> Labels: features, patch
> Fix For: 1.7.0
>
> Attachments: AMBARI-6484.diff, AMBARI-6484.diff, XMN_CONFIGURABLE.diff
>
>
> -Xmn parameter for HBase RegionServer is calculated with hardcoded value.
> This patch allows you to configure values used to calculate this parameter
> (the maximum value for -Xmn and the ratio between -Xmn and -Xmx).
> Without this fix HBase can be crash because of OutOfMemory when you do a YCSB
> test for example.
--
This message was sent by Atlassian JIRA
(v6.2#6252)