Support Questions

Find answers, ask questions, and share your expertise

ambari metrics getting down frequently

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

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

@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

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.