Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DCA80200BA6 for ; Tue, 4 Oct 2016 06:08:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DB3E3160AEC; Tue, 4 Oct 2016 04:08:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 23B16160ADC for ; Tue, 4 Oct 2016 06:08:22 +0200 (CEST) Received: (qmail 65660 invoked by uid 500); 4 Oct 2016 04:08:22 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 65651 invoked by uid 99); 4 Oct 2016 04:08:22 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2016 04:08:22 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id EE0E42C002D for ; Tue, 4 Oct 2016 04:08:21 +0000 (UTC) Date: Tue, 4 Oct 2016 04:08:21 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-18518) Sinks should not try to read collector hosts from Zk if AMS is in embedded mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Oct 2016 04:08:24 -0000 [ https://issues.apache.org/jira/browse/AMBARI-18518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15544276#comment-15544276 ] Hadoop QA commented on AMBARI-18518: ------------------------------------ {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12831418/AMBARI-18518.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-metrics/ambari-metrics-common. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/8798//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/8798//console This message is automatically generated. > Sinks should not try to read collector hosts from Zk if AMS is in embedded mode > ------------------------------------------------------------------------------- > > Key: AMBARI-18518 > URL: https://issues.apache.org/jira/browse/AMBARI-18518 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics > Affects Versions: 3.0.0 > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Critical > Fix For: 3.0.0 > > Attachments: AMBARI-18518.patch > > > Currently, an exception is constantly being thrown in sink logs. > {code} > 2016-10-03 21:01:06,537 WARN availability.MetricCollectorHAHelper (MetricCollectorHAHelper.java:findLiveCollectorHostsFromZNode(91)) - Unable to connect to z > ookeeper. > org.apache.hadoop.metrics2.sink.relocated.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ambari-metrics-cluster > at org.apache.hadoop.metrics2.sink.relocated.zookeeper.KeeperException.create(KeeperException.java:99) > at org.apache.hadoop.metrics2.sink.relocated.zookeeper.KeeperException.create(KeeperException.java:51) > at org.apache.hadoop.metrics2.sink.relocated.zookeeper.ZooKeeper.exists(ZooKeeper.java:1045) > at org.apache.hadoop.metrics2.sink.relocated.zookeeper.ZooKeeper.exists(ZooKeeper.java:1073) > at org.apache.hadoop.metrics2.sink.timeline.availability.MetricCollectorHAHelper.findLiveCollectorHostsFromZNode(MetricCollectorHAHelper.java:78) > at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.findPreferredCollectHost(AbstractTimelineMetricsSink.java:344) > at org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink.emitMetrics(AbstractTimelineMetricsSink.java:216) > at org.apache.hadoop.metrics2.sink.timeline.HadoopTimelineMetricsSink.putMetrics(HadoopTimelineMetricsSink.java:345) > 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) > {code} > After the change > {code} > 2016-10-03 21:08:31,494 INFO availability.MetricCollectorHAHelper (MetricCollectorHAHelper.java:findLiveCollectorHostsFromZNode(80)) - /ambari-metrics-cluster znode does not exist. Skipping requesting live instances from zookeeper > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)