ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19357) Flume metrics can't show if hostname of flume agent is not lowercase
Date Fri, 10 Feb 2017 22:00:44 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-19357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861899#comment-15861899
] 

Hudson commented on AMBARI-19357:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6706 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6706/])
AMBARI-19357. Flume metrics can't show if hostname of flume agent  is (swagle: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=38a17a7fb4a27c7ab2bd3d4e87d8ffd0f4150079])
* (edit) ambari-metrics/ambari-metrics-flume-sink/src/main/java/org/apache/hadoop/metrics2/sink/flume/FlumeTimelineMetricsSink.java


> Flume metrics can't show if hostname of flume agent  is not lowercase
> ---------------------------------------------------------------------
>
>                 Key: AMBARI-19357
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19357
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.4.2
>            Reporter: Yao Lei
>             Fix For: trunk
>
>         Attachments: AMBARI-19357.patch, No graph if uppercase agent hostname .png, uppercase
 agent hostname .png
>
>
> If hostname of flume agent is uppercase or mixed-case´╝îweb client will not show flume
metrics normally.
> This is because we will query metric records by lowercase hostname used in ambari ,but
the hostname in METRIC_RECORD is not lowercase (see attached picture),so we will not get any
records.This patch amis to convert hostname of  metric record of flume to lowercase before
inserting into ams hbase.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message