[ https://issues.apache.org/jira/browse/AMBARI-18012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15668132#comment-15668132 ]
Hudson commented on AMBARI-18012: --------------------------------- FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #328 (See [https://builds.apache.org/job/Ambari-branch-2.5/328/]) AMBARI-18012 : AMS Metrics Sink unable to connect to zookeeper to locate (avijayan: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=47e8ff49a3adc146344ce234ca9cfad4b4506930]) * (edit) ambari-metrics/ambari-metrics-common/src/main/java/org/apache/hadoop/metrics2/sink/timeline/availability/MetricCollectorHAHelper.java > Metrics Sink unable to connect to zookeeper to locate collector host. > --------------------------------------------------------------------- > > Key: AMBARI-18012 > URL: https://issues.apache.org/jira/browse/AMBARI-18012 > Project: Ambari > Issue Type: Bug > Affects Versions: trunk > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Critical > Fix For: trunk > > Attachments: AMBARI-18012.patch > > > Test and validate sink fallback connect to ZK for finding collector > {code} > 2016-07-14 20:37:01,212 INFO timeline.HadoopTimelineMetricsSink > (AbstractTimelineMetricsSink.java:findPreferredCollectHost(353)) - Collector > ambari-sid-5.c.pramod-thangali.internal is not longer live. Removing it from > list of know live collector hosts : [] > 2016-07-14 20:37:03,213 WARN availability.MetricCollectorHAHelper > (MetricCollectorHAHelper.java:findLiveCollectorHostsFromZNode(83)) - Unable > to connect to zookeeper. > java.lang.IllegalStateException: Client is not started > at > org.apache.hadoop.metrics2.sink.relocated.google.common.base.Preconditions.checkState(Preconditions.java:149) > at > org.apache.hadoop.metrics2.sink.relocated.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:113) > at > org.apache.hadoop.metrics2.sink.timeline.availability.MetricCollectorHAHelper$1.call(MetricCollectorHAHelper.java:77) > at > org.apache.hadoop.metrics2.sink.timeline.availability.MetricCollectorHAHelper$1.call(MetricCollectorHAHelper.java:74) > at > org.apache.hadoop.metrics2.sink.relocated.curator.RetryLoop.callWithRetry(RetryLoop.java:107) > at > org.apache.hadoop.metrics2.sink.timeline.availability.MetricCollectorHAHelper.findLiveCollectorHostsFromZNode(MetricCollectorHAHelper.java:74) > at > org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.findPreferredCollectHost(AbstractTimelineMetricsSink.java:363) > at > org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.emitMetrics(AbstractTimelineMetricsSink.java:209) > at > org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.putMetrics(HadoopTimelineMetricsSink.java:315) > at > org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:186) > at > org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.consume(MetricsSinkAdapter.java:43) > at > org.apache.hadoop.metrics2.impl.SinkQueue.consumeAll(SinkQueue.java:87) > at > org.apache.hadoop.metrics2.impl.MetricsSinkAdapter.publishMetricsFromQueue(MetricsSinkAdapter.java:134) > at > org.apache.hadoop.metrics2.impl.MetricsSinkAdapter$1.run(MetricsSinkAdapter.java:88) > 2016-07-14 20:37:03,245 WARN timeline.HadoopTimelineMetricsSink > (AbstractTimelineMetricsSink.java:findLiveCollectorHostsFromKnownCollector(433)) > - Unable to conne > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)