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
Highlighted

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
Highlighted

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

View solution in original post

3 REPLIES 3
Highlighted

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
Highlighted

Re: ambari metrics getting down frequently

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

Highlighted

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

View solution in original post

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