[ 
https://issues.apache.org/jira/browse/AMBARI-19357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-19357:
-----------------------------
    Description: 
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 lowcase hostname used in ambari 
,but the hostname in METRIC_RECORD is not lowcase (see attached picture),so we 
will not get any records.This patch amis to convert hostname of flume agent 
metric record to lowcase before inserting into ams hbase.


  was:
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 lowcase hostname displayed in 
ambari ,but the hostname in METRIC_RECORD is not lowcase (see attached 
picture),so we will not get any records.This patch amis to convert hostname of 
flume agent metric record to lowcase before inserting into ams hbase.



> 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
>         Attachments: 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 lowcase hostname used in 
> ambari ,but the hostname in METRIC_RECORD is not lowcase (see attached 
> picture),so we will not get any records.This patch amis to convert hostname 
> of flume agent metric record to lowcase before inserting into ams hbase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to