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

Mahadev konar commented on ZOOKEEPER-988:
-----------------------------------------

Xiawei, 
  It is good to open jira's with issues in zookeeper but its much better to 
provide more information on the issue you are facing. Like in this case, it 
would be very helpful to get the stack trace on the Sendworker.run thread that 
died and also the jstack of the zookeeper process. 

> ZK server hang on leader election
> ---------------------------------
>
>                 Key: ZOOKEEPER-988
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-988
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: leaderElection
>    Affects Versions: 3.3.2
>            Reporter: Xiaowei Jiang
>
> org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run thread 
> exited unexpected, so the server hang on leader election.
> QuorumPeer:/0.0.0.0:2181:
>  [1] sun.misc.Unsafe.park (native method)
>  [2] java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:198)
>  [3] 
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos
>  (AbstractQueuedSynchronizer.java:1,963)
>  [4] java.util.concurrent.LinkedBlockingQueue.poll 
> (LinkedBlockingQueue.java:395)
>  [5] org.apache.zookeeper.server.quorum.FastLeaderElection.lookForLeader 
> (FastLeaderElection.java:677)
>  [6] org.apache.zookeeper.server.quorum.QuorumPeer.run (QuorumPeer.java:621)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to