ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aravindan Vijayan <avija...@hortonworks.com>
Subject Review Request 43739: AMBARI-15099 : Ambari missing metrics in UI with Vip settings enabled
Date Thu, 18 Feb 2016 21:23:34 GMT

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

Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.


Bugs: AMBARI-15099
    https://issues.apache.org/jira/browse/AMBARI-15099


Repository: ambari


Description
-------

PROBLEM
When using a vip settings for a cluster with 2 Collectors (1 active at a time), no metrics
are seen unless Ambari Server is restarted.

BUG
In a cluster with metrics collector Vip settings enabled, when a Metrics Collector instance
status changes from STOPPED to STARTED, it is not tracked in the data structure that maintains
the collector host in Ambari Server. This causes the Ambari server to drop requests for metrics
assuming there is no Provider to satsify the request.

FIX
Decouple the data structure used to track collector hosts and Vip host.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
5fb2cf0 

Diff: https://reviews.apache.org/r/43739/diff/


Testing
-------

Manual testing done.


Thanks,

Aravindan Vijayan


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