[ https://issues.apache.org/jira/browse/AMBARI-20667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957319#comment-15957319 ]
Aravindan Vijayan commented on AMBARI-20667: -------------------------------------------- LGTM +1 > Storm metrics sink can't connect Ambari metrics collector > --------------------------------------------------------- > > Key: AMBARI-20667 > URL: https://issues.apache.org/jira/browse/AMBARI-20667 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics > Affects Versions: 2.5.0, 2.5.1 > Reporter: Jungtaek Lim > Assignee: Jungtaek Lim > Priority: Critical > Fix For: 2.5.1 > > Attachments: AMBARI-20667-branch-2.5.patch > > > From Storm's worker log: > {code} > 2017-04-03 07:00:07.643 > o.a.h.m.s.t.a.MetricSinkWriteShardHostnameHashingStrategy [INFO] Calculated > collector shard vett-hdf-sam2.field.hortonworks.com based on hostname: > vett-hdf-sam8.field.hortonworks.com > 2017-04-03 07:00:07.774 o.a.h.m.s.s.StormTimelineMetricsSink [INFO] Unable to > connect to collector, null > This exceptions will be ignored for next 100 times > 2017-04-03 07:00:07.775 o.a.h.m.s.s.StormTimelineMetricsSink [WARN] Unable to > send metrics to collector by address:null > {code} > I guess AMBARI-16828 is applied well for trunk, but there seems a mistake for > backporting the patch to branch-2.5. Please compare two links below: > For trunk: > https://github.com/apache/ambari/blob/trunk/ambari-metrics/ambari-metrics-storm-sink/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java#L74 > For branch-2.5: > https://github.com/apache/ambari/blob/branch-2.5/ambari-metrics/ambari-metrics-storm-sink/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsSink.java#L74 > -- This message was sent by Atlassian JIRA (v6.3.15#6346)