loading table of contents...

5. General Guidelines

The operation mode, TTL, memory settings, and disk space requirements for AMS are dependent on the number of nodes in the cluster. The following table lists specific recommendations and tuning guidelines for each.

In Ambari Web, browse to Ambari Metrics > Configs, make the following changes, then restart the Collector.

Cluster Environment Host Count Disk Space Collector Mode TTL Memory Settings

Single-Node Sandbox

1 2GB embedded Reduce TTLs to 7 Days

metrics_collector_heap_size=1024

hbase_regionserver_heapsize=512

hbase_master_heapsize=512

hbase_master_xmn_size=128

PoC 1-5

5GB

embedded Reduce TTLs to 30 Days

metrics_collector_heap_size=1024

hbase_regionserver_heapsize=512

hbase_master_heapsize=512

hbase_master_xmn_size=128

Pre-Production 5-20 20GB embedded Reduce TTLs to 3 Months

metrics_collector_heap_size=1024

hbase_regionserver_heapsize=1024

hbase_master_heapsize=512

hbase_master_xmn_size=128

Production 20-50 50GB embedded n.a.

metrics_collector_heap_size=1024

hbase_regionserver_heapsize=1024

hbase_master_heapsize=512

hbase_master_xmn_size=128

Production 50-200 100GB embedded n.a.

metrics_collector_heap_size=2048

hbase_regionserver_heapsize=2048

hbase_master_heapsize=2048

hbase_master_xmn_size=256

Production 200-400 200GB embedded n.a.

metrics_collector_heap_size=2048

hbase_regionserver_heapsize=2048

hbase_master_heapsize=2048

hbase_master_xmn_size=512

Production 400-800 200GB distributed n.a.

metrics_collector_heap_size=8192

hbase_regionserver_heapsize=122288

hbase_master_heapsize=1024

hbase_master_xmn_size=1024

regionserver_xmn_size=1024

Production 800+ 500GB distributed n.a.

metrics_collector_heap_size=12288

hbase_regionserver_heapsize=16384

hbase_master_heapsize=16384

hbase_master_xmn_size=2048

regionserver_xmn_size=1024