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

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


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 055103e  [AMBARI-24652] Ambari metrics collector failed to show data 
for custom metrics (apappu) (#2893)
055103e is described below

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

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

diff --git 
a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
 
b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
index 2dedd77..1c95c20 100644
--- 
a/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
+++ 
b/ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/ambari/metrics/core/timeline/discovery/TimelineMetricMetadataManager.java
@@ -652,9 +652,6 @@ public class TimelineMetricMetadataManager {
 
     Set<String> sanitizedHostNames = getSanitizedHostnames(hostnames);
 
-    if ( StringUtils.isNotEmpty(appId) && !(appId.equals("HOST") || 
appId.equals("FLUME_HANDLER"))) { //HACK.. Why??
-      appId = appId.toLowerCase();
-    }
     if (CollectionUtils.isNotEmpty(sanitizedHostNames)) {
       if (CollectionUtils.isNotEmpty(sanitizedMetricNames)) {
 

Reply via email to