-----------------------------------------------------------
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://<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
-----
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