Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

ambari metrics getting down frequently

avatar
Super Collaborator

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
Super Collaborator

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
Super Guru
@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
Super Collaborator

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