hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Demai Ni (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10289) Avoid random port usage by default JMX Server. Create Custome JMX server
Date Fri, 04 Apr 2014 21:15:20 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Demai Ni updated HBASE-10289:
-----------------------------

    Attachment: HBASE-10289-v4.patch

in HMasterCommandLine. I have to repeat 
{code}
jmxServer = new JMXServer(conf, "hbase.master");
jmxServer.start();
{code}
twice, so that in the else condition, jmxSever will be start before master.start() to register.
Otherwise, its port won't be set for HMaster

> 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-v4.patch, 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)

Mime
View raw message