zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michi Mutsuzaki <mi...@cs.stanford.edu>
Subject ZooKeeper 3.4.3: Failed to unregister with JMX
Date Fri, 27 Jul 2012 20:44:26 GMT
Hi,

I'm using 3.4.3 in "embedded" mode (i.e. zookeeper is sharing jvm with
some other app). I got this warning when I called
QuorumPeer.shutdown().

2012-07-25 16:11:55,003 142220 [QuorumPeer[myid=0]/127.0.0.1:2900]
WARN org.apache.zookeeper.server.ZooKeeperServer  - Failed to
unregister with JMX
java.lang.IllegalMonitorStateException
        at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:398)
        at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1340)
        at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:778)
        at com.sun.jmx.mbeanserver.Repository.retrieve(Repository.java:522)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1111)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:433)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:421)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:540)
        at org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:115)
        at org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:132)
        at org.apache.zookeeper.server.quorum.LearnerZooKeeperServer.unregisterJMX(LearnerZooKeeperServer.java:138)
        at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:100)
        at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:740)

Has anybody seen a trace like this before? It looks like
ReentrantReadWriteLock.ReadLock.unlock() failed, but I wasn't sure
why...

Thanks!
--Michi

Mime
View raw message