-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/56765/
-----------------------------------------------------------
Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.
Bugs: AMBARI-20056
https://issues.apache.org/jira/browse/AMBARI-20056
Repository: ambari
Description
-------
PROBLEM
On a 500 node cluster AMS can become in-operational after creating 18K store
files and no compaction.
FIX
Set Data Tiered compaction for all tables except METRIC_RECORD. This will allow
number of store files to go down over time.
As part of this effort, I refined the segment of the code where AMS HBase
tables policies are set such that any compaction policy can be set for
precision and aggregate tables.
Defaults
Precision Table (METRIC_RECORD)
hbase.hstore.defaultengine.compactionpolicy.class :
org.apache.hadoop.hbase.regionserver.compactions.FIFOCompactionPolicy
Aggregate Tables
hbase.hstore.engine.class :
org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine
Diffs
-----
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/HBaseTimelineMetricStore.java
b249d05
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
ad05025
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
7bbd5aa
ambari-metrics/ambari-metrics-timelineservice/src/test/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/ITPhoenixHBaseAccessor.java
3bc1929
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java
0d0b8a2
ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/configuration/ams-site.xml
76f8660
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java
112f212
Diff: https://reviews.apache.org/r/56765/diff/
Testing
-------
Manually tested.
mvn clean test on Ambari metrics.
Thanks,
Aravindan Vijayan