<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Enable HBase metrics for JMX in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144838#M56531</link>
    <description>&lt;P&gt;To just configure metrics for a given region server, edit the conf/hadoop-metrics2-hbase.properties file and restart the region server for the changes to take effect. If you want to monitor the JMX metrics for each region server you would need to follow the similar steps on all hosts.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Mar 2017 03:19:06 GMT</pubDate>
    <dc:creator>namaheshwari</dc:creator>
    <dc:date>2017-03-09T03:19:06Z</dc:date>
    <item>
      <title>Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144831#M56524</link>
      <description>&lt;P&gt;I am trying to enable HBase metrics out to the JMX following this: &lt;A href="https://hbase.apache.org/metrics.html" target="_blank"&gt;https://hbase.apache.org/metrics.html&lt;/A&gt;. 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?&lt;/P&gt;&lt;P&gt;
I appreciate any help!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 06:25:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144831#M56524</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-08T06:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144832#M56525</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/16494/anthony-schuhl.html" nodeid="16494"&gt;@Anthony Schuhl&lt;/A&gt; &lt;/P&gt;&lt;P&gt;What is the version of Hbase you are using. The Metrics system was redone in HBase 0.96 and there you might be required to edit the &lt;EM&gt;conf/hadoop-metrics2-hbase.properties&lt;/EM&gt; file, as per:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mstanleyjones.github.io/hbase/reflow_update/book.html#_hbase_metrics" target="_blank"&gt;http://mstanleyjones.github.io/hbase/reflow_update/book.html#_hbase_metrics&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Also are you using Ambari? If yes then you don't need to modify config files on the hosts. Just select Hbase service, go to the Configs tab and add the properties over there. Once the property changes are done Ambari will ask to restart required services.&lt;/LI&gt;&lt;LI&gt;If you are not using Ambari, I think you would need to update the property files on different hosts and restart services as required.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 08 Mar 2017 15:43:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144832#M56525</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-08T15:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144833#M56526</link>
      <description>&lt;P&gt;
	Add the following to your "Advanced hbase-env" part of Hbase config in Ambari.&lt;/P&gt;&lt;P&gt;
	 If you're using ambari:&lt;/P&gt;&lt;PRE&gt;
export HBASE_MASTER_OPTS="$HBASE_MASTER_OPTS -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=20015"
export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS -Dcom.sun.management.jmxremote.local.only=true -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=20016"&lt;/PRE&gt;&lt;P&gt;
	If you're not using Ambari add this manually to your hbase-env&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:50:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144833#M56526</guid>
      <dc:creator>bcsergo</dc:creator>
      <dc:date>2017-03-08T22:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144834#M56527</link>
      <description>&lt;P&gt;So I attached a link to be more clear on what I was following, and I am currently using .98. So I want to setup the JMX for remote access, I do not see an ability to use Ambari to put those files on the server and I also do not see the ability to edit the metrics file on Ambari either.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 01:25:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144834#M56527</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-09T01:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144835#M56528</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/16494/anthony-schuhl.html" nodeid="16494"&gt;@Anthony Schuhl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For your case, please try to follow the below steps mentioned to enable HBase Metrics:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/content/_enabling_hbase_region_and_table_metrics.html"&gt;HDP Documentation Link&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Enabling+HBase+Region,+User+and+Table+Metrics"&gt;Apache Confluence Wiki Link&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:03:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144835#M56528</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-09T03:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144836#M56529</link>
      <description>&lt;P&gt;Hmm I don't think I need to enable all of those metrics to achieve what I am trying to do. I am just trying to get remote access for the metrics as detailed here: &lt;A href="https://hbase.apache.org/metrics.html"&gt;https://hbase.apache.org/metrics.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:09:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144836#M56529</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-09T03:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144837#M56530</link>
      <description>&lt;P&gt;Thank you for your response. So if you see here: &lt;A href="https://hbase.apache.org/metrics.html"&gt;https://hbase.apache.org/metrics.html&lt;/A&gt; I also want to enable the metrics for remote access. Do you know if i need to create the access files on each server?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:11:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144837#M56530</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-09T03:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144838#M56531</link>
      <description>&lt;P&gt;To just configure metrics for a given region server, edit the conf/hadoop-metrics2-hbase.properties file and restart the region server for the changes to take effect. If you want to monitor the JMX metrics for each region server you would need to follow the similar steps on all hosts.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:19:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144838#M56531</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-09T03:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144839#M56532</link>
      <description>&lt;P&gt;Where do you edit the conf/hadoop-metrics2-hbase.properties file on Ambari?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:31:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144839#M56532</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-09T03:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144840#M56533</link>
      <description>&lt;P&gt;This will be a manual process, you would need to do it on the Region server host. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 03:38:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144840#M56533</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-09T03:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144841#M56534</link>
      <description>&lt;P&gt;(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! &lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 04:47:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144841#M56534</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-09T04:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144842#M56535</link>
      <description>&lt;P&gt;Even I can't seem to reply now in that chain.&lt;/P&gt;&lt;P&gt;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. &lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 05:31:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144842#M56535</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2017-03-09T05:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Enable HBase metrics for JMX</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144843#M56536</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 00:11:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Enable-HBase-metrics-for-JMX/m-p/144843#M56536</guid>
      <dc:creator>anthony_schuhl</dc:creator>
      <dc:date>2017-03-10T00:11:07Z</dc:date>
    </item>
  </channel>
</rss>

