You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2014/09/02 09:59:21 UTC

[jira] [Commented] (ZOOKEEPER-2026) Startup order in ServerCnxnFactory-ies is wrong

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118007#comment-14118007 ] 

Rakesh R commented on ZOOKEEPER-2026:
-------------------------------------

More Details: [zk user mailing thread - registering zookeeperserver jmx mbean | http://qnalist.com/questions/5107991/servercnxnfactory-startup-order-and-registering-zookeeperserver-jmx-mbean]

Thanks [~sslavic]. Could you add testcase for this.

> Startup order in ServerCnxnFactory-ies is wrong
> -----------------------------------------------
>
>                 Key: ZOOKEEPER-2026
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2026
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.6
>            Reporter: Stevo Slavic
>            Priority: Minor
>         Attachments: ZOOKEEPER-2026.patch
>
>
> {{NIOServerCnxnFactory}} and {{NettyServerCnxnFactory}} {{startup}} method implementations are binding {{ZooKeeperServer}} too late, so in {{ZooKeeperServer}} in its startup can fail to register appropriate JMX MBean.
> See [this|http://mail-archives.apache.org/mod_mbox/zookeeper-user/201409.mbox/%3CCAAUywg9-ad3oWfqRWahB9PyBEbg6%2Bd%3DDyj5PAUU7A%3Dm9wRncaw%40mail.gmail.com%3E] post on ZK user mailing list for more details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)