kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-434) IllegalMonitorStateException in ReplicaManager.makerFollower
Date Wed, 01 Aug 2012 17:27:02 GMT
Jun Rao created KAFKA-434:
-----------------------------

             Summary: IllegalMonitorStateException in ReplicaManager.makerFollower
                 Key: KAFKA-434
                 URL: https://issues.apache.org/jira/browse/KAFKA-434
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.8
            Reporter: Jun Rao


Saw the following exception in kafka.server.LeaderElectionTest. It seems that the lock may
not be acquired before unlocking.

java.lang.IllegalMonitorStateException
	at java.util.concurrent.locks.ReentrantLock$Sync.tryRelease(ReentrantLock.java:127)
	at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1175)
	at java.util.concurrent.locks.ReentrantLock.unlock(ReentrantLock.java:431)
	at kafka.server.ReplicaManager.makeFollower(ReplicaManager.scala:233)
	at kafka.server.KafkaServer.makeFollower(KafkaServer.scala:164)
	at kafka.server.KafkaServer$$anonfun$startup$7.apply(KafkaServer.scala:101)
	at kafka.server.KafkaServer$$anonfun$startup$7.apply(KafkaServer.scala:101)
	at kafka.server.KafkaApis$$anonfun$handleLeaderAndISRRequest$2.apply(KafkaApis.scala:99)
	at kafka.server.KafkaApis$$anonfun$handleLeaderAndISRRequest$2.apply(KafkaApis.scala:74)
	at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:80)
	at scala.collection.mutable.HashMap$$anonfun$foreach$1.apply(HashMap.scala:80)
	at scala.collection.Iterator$class.foreach(Iterator.scala:631)
	at scala.collection.mutable.HashTable$$anon$1.foreach(HashTable.scala:161)
	at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:194)
	at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:39)
	at scala.collection.mutable.HashMap.foreach(HashMap.scala:80)
	at kafka.server.KafkaApis.handleLeaderAndISRRequest(KafkaApis.scala:74)
	at kafka.server.KafkaApis.handle(KafkaApis.scala:62)
	at kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:38)
	at java.lang.Thread.run(Thread.java:637)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message