Support Questions

Find answers, ask questions, and share your expertise

Ambari Metrics, Hbase-User dashboard in grafana

Explorer

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



8 REPLIES 8

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.

.

Explorer

Yess thanks. I restarted ambari-server several times

Explorer

@Jay Kumar SenSharma Any idea Jay??

Explorer

HDP-3.1.0.0 with AMS 0.1.0

Explorer

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

Explorer

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

Explorer

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

New Contributor

Did You ever get this resolved? seems like I am also having the same Issue @gorkazar7 

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