Repository: ambari Updated Branches: refs/heads/branch-metrics-dev 3ea2d8cea -> d40dd1a61
AMBARI-5707. Updates to hbase-site.xml based on prototype testing. Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d40dd1a6 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d40dd1a6 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d40dd1a6 Branch: refs/heads/branch-metrics-dev Commit: d40dd1a6159b16119dd73654d6a256b4a03dc232 Parents: 3ea2d8c Author: Siddharth Wagle <swa...@hortonworks.com> Authored: Tue Sep 30 10:40:06 2014 -0700 Committer: Siddharth Wagle <swa...@hortonworks.com> Committed: Tue Sep 30 10:40:06 2014 -0700 ---------------------------------------------------------------------- .../main/conf/hbase-site-metrics-service.xml | 24 +++++++++++++------- .../metrics/timeline/PhoenixHBaseAccessor.java | 2 +- 2 files changed, 17 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/d40dd1a6/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/conf/hbase-site-metrics-service.xml ---------------------------------------------------------------------- diff --git a/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/conf/hbase-site-metrics-service.xml b/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/conf/hbase-site-metrics-service.xml index 4c85581..dabef50 100644 --- a/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/conf/hbase-site-metrics-service.xml +++ b/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/conf/hbase-site-metrics-service.xml @@ -46,27 +46,35 @@ <value>12582912</value> </property> <property> - <name>hbase.zookeeper.property.dataDir</name> - <value>/grid/0/zookeeper</value> + <name>hbase.zookeeper.property.dataDir</name> + <value>/grid/0/zookeeper</value> </property> <property> - <name>hbase.client.scanner.caching</name> - <value>10000</value> + <name>hbase.client.scanner.caching</name> + <value>10000</value> </property> <property> <name>hfile.block.cache.size</name> - <value>0.6</value> + <value>0.3</value> </property> <property> <name>hbase.regionserver.global.memstore.upperLimit</name> - <value>0.2</value> + <value>0.5</value> </property> <property> <name>hbase.regionserver.global.memstore.lowerLimit</name> - <value>0.1</value> + <value>0.4</value> </property> <property> <name>phoenix.groupby.maxCacheSize</name> <value>307200000</value> </property> -</configuration> + <property> + <name>hbase.hregion.memstore.block.multiplier</name> + <value>4</value> + </property> + <property> + <name>hbase.hstore.flusher.count</name> + <value>2</value> + </property> +</configuration> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/d40dd1a6/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java ---------------------------------------------------------------------- diff --git a/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java b/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java index f11a889..f782308 100644 --- a/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java +++ b/ambari-metrics/ambari-metrics-hadoop-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java @@ -123,7 +123,7 @@ public class PhoenixHBaseAccessor { metric.setStartTime(rs.getLong("START_TIME")); metric.setType(rs.getString("UNITS")); metric.setMetricValues( - (Map<Long, Double>) TimelineUtils.readMetricFromJSON( + (Map<Long, Double>) TimelineUtilsExt.readMetricFromJSON( rs.getString("METRICS"))); return metric; }