[jira] [Commented] (ZOOKEEPER-2383) Startup race in ZooKeeperServer

2016-07-25 Thread Tsuyoshi Ozawa (JIRA)

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

Tsuyoshi Ozawa commented on ZOOKEEPER-2383:
---

[~rakeshr] hi Rakesh, how is the progress of this issue?

> Startup race in ZooKeeperServer
> ---
>
> Key: ZOOKEEPER-2383
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2383
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: jmx, server
>Affects Versions: 3.4.8
>Reporter: Steve Rowe
>Assignee: Rakesh R
>Priority: Blocker
> Fix For: 3.4.9
>
> Attachments: TestZkStandaloneJMXRegistrationRaceConcurrent.java, 
> release-3.4.8-extra-logging.patch, zk-3.4.8-MBeanRegistry.log, 
> zk-3.4.8-NPE.log
>
>
> In attempting to upgrade Solr's ZooKeeper dependency from 3.4.6 to 3.4.8 
> (SOLR-8724) I ran into test failures where attempts to create a node in a 
> newly started standalone ZooKeeperServer were failing because of an assertion 
> in MBeanRegistry.
> ZooKeeperServer.startup() first sets up its request processor chain then 
> registers itself in JMX, but if a connection comes in before the server's JMX 
> registration happens, registration of the connection will fail because it 
> trips the assertion that (effectively) its parent (the server) has already 
> registered itself.
> {code:java|title=ZooKeeperServer.java}
> public synchronized void startup() {
> if (sessionTracker == null) {
> createSessionTracker();
> }
> startSessionTracker();
> setupRequestProcessors();
> registerJMX();
> state = State.RUNNING;
> notifyAll();
> }
> {code}
> {code:java|title=MBeanRegistry.java}
> public void register(ZKMBeanInfo bean, ZKMBeanInfo parent)
> throws JMException
> {
> assert bean != null;
> String path = null;
> if (parent != null) {
> path = mapBean2Path.get(parent);
> assert path != null;
> }
> {code}
> This problem appears to be new with ZK 3.4.8 - AFAIK Solr never had this 
> issue with ZK 3.4.6. 



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


[jira] [Created] (ZOOKEEPER-1746) AsyncCallback.*Callback don't have any Javadoc

2013-08-28 Thread Tsuyoshi OZAWA (JIRA)
Tsuyoshi OZAWA created ZOOKEEPER-1746:
-

 Summary: AsyncCallback.*Callback don't have any Javadoc
 Key: ZOOKEEPER-1746
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1746
 Project: ZooKeeper
  Issue Type: New Feature
  Components: documentation
Affects Versions: 3.4.6
Reporter: Tsuyoshi OZAWA


AsyncCallback.*Callback don't have any Javadoc. This forces users to read 
source code or sample code to understand what their arguments stand for or how 
one is difference from the others.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (ZOOKEEPER-1746) AsyncCallback.*Callback don't have any Javadoc

2013-08-28 Thread Tsuyoshi OZAWA (JIRA)

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

Tsuyoshi OZAWA updated ZOOKEEPER-1746:
--

Issue Type: Improvement  (was: New Feature)

 AsyncCallback.*Callback don't have any Javadoc
 --

 Key: ZOOKEEPER-1746
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1746
 Project: ZooKeeper
  Issue Type: Improvement
  Components: documentation
Affects Versions: 3.4.6
Reporter: Tsuyoshi OZAWA

 AsyncCallback.*Callback don't have any Javadoc. This forces users to read 
 source code or sample code to understand what their arguments stand for or 
 how one is difference from the others.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira