This is an automated email from the ASF dual-hosted git repository.

avijayan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ambari-metrics.git


The following commit(s) were added to refs/heads/master by this push:
     new 4ca5ffd  [AMBARI-24652] Ambari metrics collector failed to show data 
for custom metrics (apappu) (#19)
4ca5ffd is described below

commit 4ca5ffde8b1914eabaa57959b4184dd92fa9c9a1
Author: amarnathreddy pappu <apa...@hortonworks.com>
AuthorDate: Thu Mar 28 11:43:11 2019 -0700

    [AMBARI-24652] Ambari metrics collector failed to show data for custom 
metrics (apappu) (#19)
---
 .../core/timeline/discovery/TimelineMetricMetadataManager.java        | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
 
b/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
index 7c6fce5..aa8c88a 100644
--- 
a/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
+++ 
b/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
@@ -649,10 +649,6 @@ public class TimelineMetricMetadataManager {
       }
     }
 
-    if ( StringUtils.isNotEmpty(appId) && !(appId.equals("HOST") || 
appId.equals("FLUME_HANDLER"))) { //HACK.. Why??
-      appId = appId.toLowerCase();
-    }
-
     if (hasWildCard(instanceId) || hasWildCard(appId) || hostNameHasWildcard 
|| metricNameHasWildcard) {
       try {
         List<TimelineMetricMetadata> metricMetadataFromStore = 
hBaseAccessor.scanMetricMetadataForWildCardRequest(metricNames,

Reply via email to