Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B95D3180DE for ; Fri, 29 Jan 2016 19:17:16 +0000 (UTC) Received: (qmail 73050 invoked by uid 500); 29 Jan 2016 19:17:16 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 73017 invoked by uid 500); 29 Jan 2016 19:17:16 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 72996 invoked by uid 99); 29 Jan 2016 19:17:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2016 19:17:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 9D6E4289AAF; Fri, 29 Jan 2016 19:17:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0842329881118405266==" MIME-Version: 1.0 Subject: Review Request 42969: AMBARI-14848 : AMS service has critical alert after upgrade to 2.2.1.0 [METRICS_COLLECTOR:"Connection failed: [Errno -2] Name or service not known to {{zookeeper_clientPort}}:61181" ] From: Aravindan Vijayan To: Mahadev Konar , Dmytro Sen , Jonathan Hurley , Sumit Mohanty , Sid Wagle , Vitalyi Brodetskyi Cc: Aravindan Vijayan , Ambari Date: Fri, 29 Jan 2016 19:17:15 -0000 Message-ID: <20160129191715.12173.11995@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Aravindan Vijayan X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/42969/ X-Sender: Aravindan Vijayan Reply-To: Aravindan Vijayan X-ReviewRequest-Repository: ambari --===============0842329881118405266== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42969/ ----------------------------------------------------------- Review request for Ambari, Dmytro Sen, Jonathan Hurley, Mahadev Konar, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi. Repository: ambari Description ------- STR: # Deploy old version cluster (2.2.0 or 2.0.1) # Enable Security (Mit) # Make ambari only upgrade to 2.2.1 Actual results: AMS service has critical alert after upgrade to 2.2.1.0 [METRICS_COLLECTOR:"Connection failed: [Errno -2] Name or service not known to {{zookeeper_clientPort}}:61181" ] { "href" : "https://:8443/api/v1/clusters/cl1/alerts/18", "Alert" : { "cluster_name" : "cl1", "component_name" : "METRICS_COLLECTOR", "definition_id" : 58, "definition_name" : "ams_metrics_collector_zookeeper_server_process", "host_name" : "", "id" : 18, "instance" : null, "label" : "Metrics Collector - ZooKeeper Server Process", "latest_timestamp" : 1454056914768, "maintenance_state" : "OFF", "original_timestamp" : 1454055174645, "scope" : "ANY", "service_name" : "AMBARI_METRICS", "state" : "CRITICAL", "text" : "Connection failed: [Errno -2] Name or service not known to {{zookeeper_clientPort}}:61181" } Fix This Alert is not needed anymore. Removed through UpgradeCatalog. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog221.java 2adc8b9 ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog221Test.java 906167e Diff: https://reviews.apache.org/r/42969/diff/ Testing ------- UpgradeCatalog Tests pass. Thanks, Aravindan Vijayan --===============0842329881118405266==--