ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aravindan Vijayan <avija...@hortonworks.com>
Subject Re: 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" ]
Date Fri, 29 Jan 2016 20:53:15 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42969/
-----------------------------------------------------------

(Updated Jan. 29, 2016, 8:53 p.m.)


Review request for Ambari, Dmytro Sen, Jonathan Hurley, Mahadev Konar, Sumit Mohanty, Sid
Wagle, and Vitalyi Brodetskyi.


Changes
-------

Added log statement.


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://<host>: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" : "<host2>",
        "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 (updated)
-----

  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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message