Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

ambari metrics getting down frequently

Solved Go to solution

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

Accepted Solutions

Re: ambari metrics getting down frequently

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

3 REPLIES 3

Re: ambari metrics getting down frequently

@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

Re: ambari metrics getting down frequently

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

Re: ambari metrics getting down frequently

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

Don't have an account?
Coming from Hortonworks? Activate your account here