[ https://issues.apache.org/jira/browse/HBASE-10289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960426#comment-13960426 ]
Demai Ni commented on HBASE-10289: ---------------------------------- [~saint....@gmail.com], the patch looks good to me. I configured hbase-site.xml by adding : {code} <property> <name>hbase.master.rmi.registry.port</name> <value>2356</value> </property> <property> <name>hbase.regionserver.rmi.registry.port</name> <value>2357</value> </property> {code} and both ports are set on my single-node cluster. the patch is out of date, I will upload a new one shortly > Avoid random port usage by default JMX Server. Create Custome JMX server > ------------------------------------------------------------------------ > > Key: HBASE-10289 > URL: https://issues.apache.org/jira/browse/HBASE-10289 > Project: HBase > Issue Type: Improvement > Reporter: nijel > Priority: Minor > Fix For: 0.99.0 > > Attachments: HBASE-10289.patch, HBASE-10289_1.patch, > HBASE-10289_2.patch, HBASE-10289_3.patch > > > If we enable JMX MBean server for HMaster or Region server through VM > arguments, the process will use one random which we cannot configure. > This can be a problem if that random port is configured for some other > service. > This issue can be avoided by supporting a custom JMX Server. > The ports can be configured. If there is no ports configured, it will > continue the same way as now. -- This message was sent by Atlassian JIRA (v6.2#6252)