Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

ambari metrics getting down frequently

avatar
Expert Contributor

After enabling HA I foung following error on /var/log/ambari-metrics-collector

Caused by: java.io.IOException: Can't get master address from ZooKeeper; znode data == null

Please help me out

1 ACCEPTED SOLUTION

avatar
Expert Contributor

Thanks @Jitendra Yadav I have resolved this issue by changing these parameters on

Advanced ams-hbase-site

hbase.rootdir - hdfs://nameservice/user/ams/hbase

earlier it was pointing to my namenode after enabling ha i had to change these and it worked fine for me

View solution in original post

3 REPLIES 3

avatar
@chennuri gouri shankar

Can you share the output of below commands?

cat /var/log/ambari-metrics-collector/ambari-metrics-collector.pid
ps -aef|grep collector

avatar

@chennuri gouri shankar Is Ambari Metrics running in embedded mode or distributed mode?

avatar
Expert Contributor

Thanks @Jitendra Yadav I have resolved this issue by changing these parameters on

Advanced ams-hbase-site

hbase.rootdir - hdfs://nameservice/user/ams/hbase

earlier it was pointing to my namenode after enabling ha i had to change these and it worked fine for me

Labels