Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.0
-
None
Description
There is a discrepancy in the atlas debug metrics between the active and the not active servers.
Steps to reproduce:
- Setup Atlas in HA mode with two instances of Atlas
- add "atlas.debug.metrics.enabled=true" to the Atlas configuration (conf/atlas-application.properties)
- restart Atlas
- open Atlas and create a new entity (e.g. hdfs_path)
- check the debug metrics on both atlas instances using API call: https://<atlas_host>:<atlas_port>/api/atlas/admin/debug/metrics
- The active instance returns correct metrics, whereas passive instance returns empty metrics
The reason for this is that the debug metrics are maintained in-memory in the active server. When "admin/debug/metrics" API call is accessed on the passive server, the request isn't redirected to the active server like it does for the other APIs, hence the passive node returns empty metrics.
Attachments
Issue Links
- links to