[
https://issues.apache.org/jira/browse/HBASE-16723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15529382#comment-15529382
]
Ashish Singhi commented on HBASE-16723:
---------------------------------------
I think we should deregister RMI registry when there is an error to start
JMXConnectorServer also. WDYT ?
> RMI registry is not destroyed after stopping JMX Connector Server
> -----------------------------------------------------------------
>
> Key: HBASE-16723
> URL: https://issues.apache.org/jira/browse/HBASE-16723
> Project: HBase
> Issue Type: Bug
> Components: metrics
> Affects Versions: 2.0.0, 1.4.0, 1.3.1, 1.2.3, 0.98.22
> Reporter: Pankaj Kumar
> Assignee: Pankaj Kumar
> Fix For: 2.0.0
>
> Attachments: HBASE-16723.patch
>
>
> We are creating RMI registry in JMXListener.startConnectorServer() ,
> {code}
> // Create the RMI registry
> LocateRegistry.createRegistry(rmiRegistryPort);
> {code}
> This registry is never deregistered, should be destoyed after stopping JMX
> Connector server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)