Repository: hbase Updated Branches: refs/heads/master 45bc13d87 -> 5764df297
HBASE-10289 Avoid random port usage by default JMX Server. Create Custome JMX server (Qiang Tian). DOC ADDENDUM Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b16e36a5 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b16e36a5 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b16e36a5 Branch: refs/heads/master Commit: b16e36a5b2650b2ce2c7686c6653c77074481115 Parents: 45bc13d Author: Michael Stack <st...@apache.org> Authored: Tue Jun 17 22:42:13 2014 -0500 Committer: Michael Stack <st...@apache.org> Committed: Thu Jun 19 14:38:19 2014 -0700 ---------------------------------------------------------------------- src/main/docbkx/configuration.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/b16e36a5/src/main/docbkx/configuration.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/configuration.xml b/src/main/docbkx/configuration.xml index 1777b8d..00effab 100644 --- a/src/main/docbkx/configuration.xml +++ b/src/main/docbkx/configuration.xml @@ -1474,7 +1474,8 @@ index e70ebc6..96f8c27 100644 for details) </para> <para>As an alternative, You can use the coprocessor-based JMX implementation provided - by HBase. To enable it, add below property in <filename>hbase-site.xml</filename>: + by HBase. To enable it in 0.99 or above, add below property in + <filename>hbase-site.xml</filename>: <programlisting><![CDATA[ <property> <name>hbase.coprocessor.regionserver.classes</name> @@ -1549,6 +1550,17 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_REGIONSERVER_OPTS $HBASE_JMX_BASE " jconsole -J-Djavax.net.ssl.trustStore=/home/tianq/jconsoleKeyStore </screen> </para> + <para>NOTE: for HBase 0.98, To enable the HBase JMX implementation on Master, you also + need to add below property in <filename>hbase-site.xml</filename>: + <programlisting><![CDATA[ +<property> + <name>hbase.coprocessor.master.classes</name> + <value>org.apache.hadoop.hbase.JMXListener</value> +</property> +]]></programlisting> + The corresponding properties for port configuration are master.rmi.registry.port + (by default 10101) and master.rmi.connector.port(by default the same as registry.port) + </para> </section> </section>