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

Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.


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


Repository: ambari


Description
-------

PROBLEM
Ams collector does not startup because of ams-env.sh issues.

BUG
When the "metrics_collector_heapsize" property in ams-env is given a value of 
"512m" using blueprints, we do not trim the "m" suffix. The ams-env content 
template adds another "m" causing the startup to fail.

FIX
Added the trimming logic of ams hbase heapsize properties to 
metrics_collector_heapsize property as well as the deprecated 
regionserver_xmn_max property as well.


Diffs
-----

  
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
 85e9cb3 

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


Testing
-------

Manually tested on local cluster.

Python Unit tests pass.

Submitted patch through Apache.


Thanks,

Aravindan Vijayan

Reply via email to