Created on 01-26-2016 05:54 PM - edited 08-17-2019 01:24 PM
Sometimes Ambari Metrics stops displaying data in the dashboards.
Or You may be getting time out issues that were not solved (see
At other times, especially on a new install you may receive this error in the Collector Log
2016-01-25 15:33:31,195 WARN org.apache.hadoop.yarn.server.applicationhistoryservice.metrics.timeline.query.DefaultPhoenixDataSource: Unable to connect to HBase store using Phoenix. org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table undefined. tableName=SYSTEM.CATALOG.
This is usually due to AMS Data being corrupt.
Created on 03-16-2016 04:57 AM
I hereby declare my undying love for you for fixing the error I've found this morning:
Connection failed: [Errno 111] Connection refused to 0.0.0.0:6188
If I could afford it, I would by you a lifelong supply of the beverage of your choice - but I can't, so thanks shall have to suffice 🙂
Created on 05-25-2016 02:52 PM
Thanks. This helped me purge metrics too as Ambari metrics services were stuck because of a disk full error. I also updated metrics retention parameters.
Created on 08-20-2018 05:10 AM
I got the Ambari Metrics error "Connection failed: [Errno 111] Connection refused to metrics02-node:6188" from Ambari UI.
Ambari metrics collector connection refused : metrics data not available on Ambari Dashboard
Alert : Metrics Collector Process. Connection failed: [Errno 111] Connection refused to metrics02-node:6188
As you mentioned, i removed data from hbase.tmp.dir and hbase.rootdir.
rm -rf /var/lib/ambari-metrics-collector/hbase/*
rm -rf /var/lib/ambari-metrics-collector/hbase-tmp/*
Later restared Ambari Metrics from Ambari. It worked fine. Thanks a lot.
Created on 05-24-2019 08:26 AM
Thanks, it's works.