Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.6.2, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5
-
None
Description
On a cluster where Ambari Metrics HA is set up, thus the cluster has multiple metrics collectors, the components running on the collector's host should always use the local collector if available.
2021-03-26 11:24:17,180 INFO [HBase-Metrics2-1] availability.MetricSinkWriteShardHostnameHashingStrategy: Calculated collector shard c7402.ambari.apache.org based on hostname: c7403.ambari.apache.org
In the above log the RegionServer running on c7403.ambari.apache.org is using the collector of c7402.ambari.apache.org despite having a local collector on c7403.