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-8594. Push AMS Hbase metrics with its own appid. HBase metrics fix. (swagle)
Date Tue, 06 Jan 2015 01:20:47 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 2c9820f69 -> 08a13e49e


AMBARI-8594. Push AMS Hbase metrics with its own appid. HBase metrics fix. (swagle)


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

Branch: refs/heads/trunk
Commit: 08a13e49eab35ac02e017213204cf349da4b8184
Parents: 2c9820f
Author: Siddharth Wagle <swagle@hortonworks.com>
Authored: Mon Jan 5 17:20:39 2015 -0800
Committer: Siddharth Wagle <swagle@hortonworks.com>
Committed: Mon Jan 5 17:20:45 2015 -0800

----------------------------------------------------------------------
 .../metrics/timeline/AMSComponentPropertyProvider.java           | 4 ----
 .../metrics/timeline/AMSHostComponentPropertyProvider.java       | 4 ----
 2 files changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/08a13e49/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSComponentPropertyProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSComponentPropertyProvider.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSComponentPropertyProvider.java
index 815224f..1fb0869 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSComponentPropertyProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSComponentPropertyProvider.java
@@ -46,10 +46,6 @@ public class AMSComponentPropertyProvider extends AMSPropertyProvider {
   protected String getComponentName(Resource resource) {
     String componentName = (String) resource.getPropertyValue(componentNamePropertyId);
 
-    if (TIMELINE_APPID_MAP.containsKey(componentName)) {
-      componentName = TIMELINE_APPID_MAP.get(componentName);
-    }
-
     return componentName;
   }
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/08a13e49/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSHostComponentPropertyProvider.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSHostComponentPropertyProvider.java
b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSHostComponentPropertyProvider.java
index 523371a..8ee2acb 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSHostComponentPropertyProvider.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSHostComponentPropertyProvider.java
@@ -47,10 +47,6 @@ public class AMSHostComponentPropertyProvider extends AMSPropertyProvider
{
   protected String getComponentName(Resource resource) {
     String componentName = (String) resource.getPropertyValue(componentNamePropertyId);
 
-    if (TIMELINE_APPID_MAP.containsKey(componentName)) {
-      componentName = TIMELINE_APPID_MAP.get(componentName);
-    }
-
     return componentName;
   }
 }


Mime
View raw message