Created 03-07-2017 10:25 PM
I am trying to enable HBase metrics out to the JMX following this: https://hbase.apache.org/metrics.html. At the stage "Enable HBase stats collection", I am to edit $HBASE_HOME/conf/hadoop-metrics.properties on just the master servers or all the region servers as well? same goes for the Setup JMX remote access. Am I to create them on just my masters or on all regions?
I appreciate any help!
Created 03-08-2017 09:31 PM
Even I can't seem to reply now in that chain.
So, I think that you will need to modify the $HBASE_HOME/conf/hadoop-metrics2-hbase.properties file on all the Region servers and the HBase Masters. And restart each of those services. Also, for the remote access JMX files, again you would need to add that on all the hosts where you want to do the monitoring and add reference to the JMX files in $HBASE_HOME/conf/hbase-env.sh files.
This might be a tedious process doing it on all the hosts, so you might want to use the links in the previous answer for doing it via Ambari Or else give this is a try if the number of servers are few.
Hope this helps.
Created 03-08-2017 08:47 PM
(Sorry I can't seem to reply on a later message as I guess we are too far down the thread chain) So I would need to edit the conf/hadoop-metrics2-hbase.properties on each region server? And I dont need to on the hbase masters? Is this the same for adding the remote access files? Thanks for your help!
Created 03-08-2017 09:31 PM
Even I can't seem to reply now in that chain.
So, I think that you will need to modify the $HBASE_HOME/conf/hadoop-metrics2-hbase.properties file on all the Region servers and the HBase Masters. And restart each of those services. Also, for the remote access JMX files, again you would need to add that on all the hosts where you want to do the monitoring and add reference to the JMX files in $HBASE_HOME/conf/hbase-env.sh files.
This might be a tedious process doing it on all the hosts, so you might want to use the links in the previous answer for doing it via Ambari Or else give this is a try if the number of servers are few.
Hope this helps.
Created 03-09-2017 04:11 PM
Thank you very much for your help on the matter! So I am not too worried about putting them on all of the servers as I can just do it with Ansible. But I guess I was confused by your links, they seem to be for another use case and enable much more metrics which all i wanted was another application (AppDynamics) to be able to access the JMX.