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, Hbase-User dashboard in grafana

Highlighted

Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

I 've got a problem when i want to see the Hbase-User Dashboard in grafana. I have changed the templates to see the Hbase Users, like i have seen in this document

https://cwiki.apache.org/confluence/display/AMBARI/Enabling+HBase+Region%2C+User+and+Table+Metrics

I`ve changed the templates in this 2 folders

/var/lib/ambari-server/resources/common-services/HBASE/0.96.0.2.0/package/templates/

/var/lib/ambari-agent/cache/common-services/HBASE/0.96.0.2.0/package/templates/


But when i restart HBase service i can see the same lines in the "regenerated" file

/etc/hbase/conf/hadoop-metrics2-hbase.properties


I see all the times this 2 lines

*.source.filter.class=org.apache.hadoop.metrics2.filter.RegexFilter
 hbase.*.source.filter.exclude=.*(Regions|Users|Tables).*

Thanks



7 REPLIES 7

Re: Ambari Metrics, Hbase-User dashboard in grafana

Super Mentor

@Gorka Zárate

After making those changes in the mentioned files you will also need to restart the "AmbariServer". (In your steps i do not see you mentioned anything about restarting ambari server)

It is mentioned as Step-4 in the doc: https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/using-ambari-core-services/content/amb_enab...

# ambari-server restart

.

Then you can restart the HBase Services.

If it still does not work then please share the exact AmbariServer version and the HDP version details.

.

Re: Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

Yess thanks. I restarted ambari-server several times

Re: Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

@Jay Kumar SenSharma Any idea Jay??

Re: Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

HDP-3.1.0.0 with AMS 0.1.0

Re: Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

The problem is that the Caller´s drop down is empty and i dont know how to solve it.


If i watch the requests i can see that

/ws/v1/timeline/metrics?metricNames=regionserver.Users._metric_get_num_ops._rate._sum&appId=hbase


And if i change the request i can see the json with the metrics

/ws/v1/timeline/metrics?metricNames=regionserver.Users.hbase_metric_get_num_ops._rate._sum&appId=hbase


But the problem is that the Caller´s drop down is empty


Thanks

Re: Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

I continue with the problem. I dont know what to do. Any suggestion?

Re: Ambari Metrics, Hbase-User dashboard in grafana

New Contributor

If i insert a metric manually i can see the user in the drop-down of the grafana dashboard


0: jdbc:phoenix:sice1.tri.lan:2181> UPSERT into METRICS_METADATA_UUID(METRIC_NAME, APP_ID, INSTANCE_ID, UUID, UNITS, TYPE) VALUES ('regionserver.Users.hbase_metric_get_num_ops', 'hbase', '[B@570a62a5', '', '', '');


So i can say that the problem is in the ams-collector. How can i know where is going bad?


Regards

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