You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/04/03 23:55:41 UTC

[jira] [Created] (AMBARI-20667) Storm metrics sink can't connect Ambari metrics collector

Jungtaek Lim created AMBARI-20667:
-------------------------------------

             Summary: 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
            Priority: Critical


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)