[ https://issues.apache.org/jira/browse/AMBARI-25962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mohammad Arshad updated AMBARI-25962: ------------------------------------- Summary: Host apps metadata is not synced to other collectors when multiple collectors are installed (was: Host apps metadata is not synced to other collectors when multiple metrics collectors are installed) > Host apps metadata is not synced to other collectors when multiple collectors > are installed > ------------------------------------------------------------------------------------------- > > Key: AMBARI-25962 > URL: https://issues.apache.org/jira/browse/AMBARI-25962 > Project: Ambari > Issue Type: Bug > Components: ambari-metrics > Affects Versions: metrics-3.0.0 > Reporter: Mohammad Arshad > Assignee: Mohammad Arshad > Priority: Critical > > Host apps metadata is not synced to other collectors when multiple metrics > collectors are installed. > *Steps to reproduce the issue:* > # Install ambari metrics with two collector C1 and C2 > # Submit following metrics through collector C1 > {code:java} > { > "metrics": [ > { > "metricname": "cpu", > "appid": "skywalking", > "hostname": "hostXYZ", > "starttime": 1687849289558, > "metrics": { > "1687849289558": 100, > "1687849295558": 200 > } > } > ] > } > {code} > # http://COLLECTOR_C1_HOST:6188/ws/v1/timeline/metrics/hosts API call returns > {noformat} > { > "hostXYZ": [ > "datanode", > "HOST", > "namenode", > "skywalking", > "ams-hbase" > ], > ... > } > {noformat} > This is as expected. > # http://COLLECTOR_C2_HOST:6188/ws/v1/timeline/metrics/hosts API call returns > {noformat} > { > "hostXYZ": [ > "datanode", > "HOST", > "namenode", > "ams-hbase" > ], > ... > } > {noformat} > This output indicates that new appid skywalking is not getting synced to > other collector C2. This new appid is not getting synced even after 5 minutes > which is the default ambari metrics metadata sync interval. > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org