ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject ambari git commit: AMBARI-13517. Ambari Server JVM crashed after several clicks in Web UI to navigate graph timerange. ClassCastException fix. (swagle)
Date Fri, 23 Oct 2015 01:31:18 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 6cd152c4d -> 049934f9c


AMBARI-13517. Ambari Server JVM crashed after several clicks in Web UI to navigate graph timerange.
ClassCastException fix. (swagle)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/049934f9
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/049934f9
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/049934f9

Branch: refs/heads/trunk
Commit: 049934f9c485ad53905e079f474539a83288c944
Parents: 6cd152c
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Thu Oct 22 18:30:44 2015 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Thu Oct 22 18:31:11 2015 -0700

----------------------------------------------------------------------
 .../metrics/timeline/PhoenixHBaseAccessor.java                     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/049934f9/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
----------------------------------------------------------------------
diff --git a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
index 1ed2a72..06ae292 100644
--- a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
+++ b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
@@ -109,7 +109,7 @@ public class PhoenixHBaseAccessor {
 
   private static final TimelineMetricReadHelper TIMELINE_METRIC_READ_HELPER = new TimelineMetricReadHelper();
   private static ObjectMapper mapper = new ObjectMapper();
-  private static TypeReference<Map<Long, Double>> metricValuesTypeRef = new TypeReference<Map<Long,
Double>>() {};
+  private static TypeReference<TreeMap<Long, Double>> metricValuesTypeRef = new
TypeReference<TreeMap<Long, Double>>() {};
 
   private final Configuration hbaseConf;
   private final Configuration metricsConf;


Mime
View raw message