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

Review request for Ambari, Alexander Denissov, jun aoki, Matt, and Oleksandr 
Diachenko.


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


Repository: ambari


Description
-------

Recommend value for hawq_rm_memory_limit_perseg for HAWQ. Below is the 
recommendation basis.
vm.overcommit_memory recommedation existing
1) If RAM >=32 then 2 else 1

For recommendation % for memory based on the size of cluster
RAM = RAM / 2 if vm.overcommit == 2 else 1
1) If HAWQ Segment Hosts has RAM <= 64 GB, allocate 75%
2) If HAWQ Segment Hosts has 64 < RAM <= 512, allocate 85% 
3) If HAWQ Segment Hosts has 512 < RAM, allocate 95%


Diffs
-----

  
ambari-server/src/main/resources/common-services/HAWQ/2.0.0/service_advisor.py 
276dd3a 
  ambari-server/src/test/python/stacks/2.3/HAWQ/test_service_advisor.py 50f3a1f 

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


Testing
-------

yes. 

....
test_getServiceConfigurationRecommendations 
(test_service_advisor.TestHAWQ200ServiceAdvisor) ... ok
....

----------------------------------------------------------------------
Ran 51 tests in 0.317s

OK


Thanks,

bhuvnesh chaudhary

Reply via email to