java.lang.InterruptedException

SpringSource Issue Tracker | Yifeng Xiao | 4 years ago
  1. 0

    1. Create a default hortonworks HBase cluster. 2. Check service on zookeeper nodes: {code} [root@10 ~]# /etc/init.d/zookeeper-server status JMX enabled by default Using config: /etc/zookeeper/zoo.cfg Error contacting service. It is probably not running. {code} 3. There is no zookeeper.log in the log folder but only zookeeper.out in it: {code} 2012-11-22 03:09:08,420 [myid:] - INFO [main:QuorumPeerConfig@90] - Reading configuration from: /etc/zookeeper/zoo.cfg 2012-11-22 03:09:08,434 [myid:] - INFO [main:QuorumPeerConfig@310] - Defaulting to majority quorums 2012-11-22 03:09:08,450 [myid:] - INFO [main:QuorumPeerMain@119] - Starting quorum peer 2012-11-22 03:09:08,503 [myid:] - INFO [main:NIOServerCnxn$Factory@143] - binding to port 0.0.0.0/0.0.0.0:2181 2012-11-22 03:09:08,525 [myid:] - INFO [main:QuorumPeer@819] - tickTime set to 2000 2012-11-22 03:09:08,525 [myid:] - INFO [main:QuorumPeer@830] - minSessionTimeout set to -1 2012-11-22 03:09:08,526 [myid:] - INFO [main:QuorumPeer@841] - maxSessionTimeout set to -1 2012-11-22 03:09:08,526 [myid:] - INFO [main:QuorumPeer@856] - initLimit set to 10 2012-11-22 03:09:08,552 [myid:] - INFO [Thread-1:QuorumCnxManager$Listener@473] - My election bind port: 3888 2012-11-22 03:09:08,566 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:QuorumPeer@621] - LOOKING 2012-11-22 03:09:08,568 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FastLeaderElection@663] - New election. My id = 1, Proposed zxid = 0 2012-11-22 03:09:08,586 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 1 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 1 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,586 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 0 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,587 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,586 [myid:] - INFO [WorkerSender Thread:QuorumCnxManager@183] - Have smaller server identifier, so dropping the connection: (2, 1) 2012-11-22 03:09:08,588 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FastLeaderElection@721] - Updating proposal 2012-11-22 03:09:08,588 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,590 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 1 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,591 [myid:] - INFO [WorkerSender Thread:QuorumCnxManager@183] - Have smaller server identifier, so dropping the connection: (2, 1) 2012-11-22 03:09:08,592 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,594 [myid:] - WARN [Thread-5:QuorumCnxManager$RecvWorker@727] - Connection broken for id 2, my id = 1, error = java.io.IOException: Channel eof 2012-11-22 03:09:08,595 [myid:] - WARN [Thread-5:QuorumCnxManager$RecvWorker@730] - Interrupting SendWorker 2012-11-22 03:09:08,596 [myid:] - WARN [Thread-4:QuorumCnxManager$SendWorker@633] - Interrupted while waiting for message on queue java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2038) at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:340) at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:622) 2012-11-22 03:09:08,599 [myid:] - WARN [Thread-4:QuorumCnxManager$SendWorker@642] - Send worker leaving thread 2012-11-22 03:09:08,595 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 2 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,602 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 2 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,602 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LEADING (n.state), 2 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,823 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:QuorumPeer@643] - FOLLOWING 2012-11-22 03:09:08,829 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Learner@80] - TCP NoDelay set to: true 2012-11-22 03:09:08,911 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:zookeeper.version=3.3.4--1, built on 04/12/2012 21:14 GMT 2012-11-22 03:09:08,912 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:host.name=10.111.88.62 2012-11-22 03:09:08,912 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.version=1.6.0_31 2012-11-22 03:09:08,913 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.vendor=Sun Microsystems Inc. 2012-11-22 03:09:08,913 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.home=/usr/local/jdk/jre 2012-11-22 03:09:08,914 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.class.path=/usr/local/share/zookeeper-3.3.4/bin/../build/classes:/usr/local/share/zookeeper-3.3.4/bin/../build/lib/*.jar:/usr/local/share/zookeeper-3.3.4/bin/../lib/log4j-1.2.15.jar:/usr/local/share/zookeeper-3.3.4/bin/../lib/jline-0.9.94.jar:/usr/local/share/zookeeper-3.3.4/bin/../zookeeper-3.3.4.jar:/usr/local/share/zookeeper-3.3.4/bin/../src/java/lib/*.jar:/etc/zookeeper: 2012-11-22 03:09:08,914 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.library.path=/usr/local/jdk/jre/lib/amd64/server:/usr/local/jdk/jre/lib/amd64:/usr/local/jdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2012-11-22 03:09:08,915 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.io.tmpdir=/tmp 2012-11-22 03:09:08,915 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.compiler=<NA> 2012-11-22 03:09:08,916 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:os.name=Linux 2012-11-22 03:09:08,916 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:os.arch=amd64 2012-11-22 03:09:08,916 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:os.version=2.6.18-238.19.1.el5 2012-11-22 03:09:08,917 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:user.name=zookeeper 2012-11-22 03:09:08,917 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:user.home=/home/zookeeper 2012-11-22 03:09:08,918 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:user.dir=/ 2012-11-22 03:09:08,919 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:ZooKeeperServer@151] - Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir /var/lib/zookeeper/version-2 snapdir /var/lib/zookeeper/version-2 2012-11-22 03:09:08,951 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Learner@294] - Getting a snapshot from leader 2012-11-22 03:09:08,954 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Learner@325] - Setting leader epoch 1 2012-11-22 03:09:08,955 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FileTxnSnapLog@254] - Snapshotting: 100000000 2012-11-22 03:12:07,310 [myid:] - WARN [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Follower@116] - Got zxid 0x100000001 expected 0x1 2012-11-22 03:12:07,311 [myid:] - INFO [SyncThread:1:FileTxnLog@199] - Creating new log file: log.100000001 2012-11-22 03:12:07,502 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.35:34676 2012-11-22 03:12:07,506 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.35:34676 2012-11-22 03:12:07,529 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10000 with negotiated timeout 40000 for client /10.111.88.35:34676 2012-11-22 03:12:08,548 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed socket connection for client /10.111.88.35:34676 which had sessionid 0x13b261723e10000 2012-11-22 03:12:08,630 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.35:34677 2012-11-22 03:12:08,631 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.35:34677 2012-11-22 03:12:08,634 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10001 with negotiated timeout 40000 for client /10.111.88.35:34677 2012-11-22 03:12:09,644 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed socket connection for client /10.111.88.35:34677 which had sessionid 0x13b261723e10001 2012-11-22 03:12:10,833 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.35:34679 2012-11-22 03:12:10,834 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.35:34679 2012-11-22 03:12:10,837 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10002 with negotiated timeout 40000 for client /10.111.88.35:34679 2012-11-22 03:12:12,847 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed socket connection for client /10.111.88.35:34679 which had sessionid 0x13b261723e10002 2012-11-22 03:12:21,842 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.194:60300 2012-11-22 03:12:21,843 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.194:60300 2012-11-22 03:12:21,846 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10003 with negotiated timeout 40000 for client /10.111.88.194:60300 2012-11-22 03:12:23,876 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.57:60828 2012-11-22 03:12:23,877 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.57:60828 2012-11-22 03:12:23,881 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10004 with negotiated timeout 40000 for client /10.111.88.57:60828 2012-11-22 03:12:23,989 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.57:60829 2012-11-22 03:12:23,990 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.57:60829 2012-11-22 03:12:23,993 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10005 with negotiated timeout 40000 for client /10.111.88.57:60829 {code} And only 2 region servers are started, see web ui: http://10.111.88.139:60010/master-status See service status on inactive region server: {code} [root@10 ~]# /etc/init.d/hbase-regionserver status regionserver is not running. {code} Attachment logs are in customized hw HBase cluster, also reproduce the same problem.

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.lang.InterruptedException
  2. 0

    1. Create a default hortonworks HBase cluster. 2. Check service on zookeeper nodes: {code} [root@10 ~]# /etc/init.d/zookeeper-server status JMX enabled by default Using config: /etc/zookeeper/zoo.cfg Error contacting service. It is probably not running. {code} 3. There is no zookeeper.log in the log folder but only zookeeper.out in it: {code} 2012-11-22 03:09:08,420 [myid:] - INFO [main:QuorumPeerConfig@90] - Reading configuration from: /etc/zookeeper/zoo.cfg 2012-11-22 03:09:08,434 [myid:] - INFO [main:QuorumPeerConfig@310] - Defaulting to majority quorums 2012-11-22 03:09:08,450 [myid:] - INFO [main:QuorumPeerMain@119] - Starting quorum peer 2012-11-22 03:09:08,503 [myid:] - INFO [main:NIOServerCnxn$Factory@143] - binding to port 0.0.0.0/0.0.0.0:2181 2012-11-22 03:09:08,525 [myid:] - INFO [main:QuorumPeer@819] - tickTime set to 2000 2012-11-22 03:09:08,525 [myid:] - INFO [main:QuorumPeer@830] - minSessionTimeout set to -1 2012-11-22 03:09:08,526 [myid:] - INFO [main:QuorumPeer@841] - maxSessionTimeout set to -1 2012-11-22 03:09:08,526 [myid:] - INFO [main:QuorumPeer@856] - initLimit set to 10 2012-11-22 03:09:08,552 [myid:] - INFO [Thread-1:QuorumCnxManager$Listener@473] - My election bind port: 3888 2012-11-22 03:09:08,566 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:QuorumPeer@621] - LOOKING 2012-11-22 03:09:08,568 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FastLeaderElection@663] - New election. My id = 1, Proposed zxid = 0 2012-11-22 03:09:08,586 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 1 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 1 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,586 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 0 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,587 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,586 [myid:] - INFO [WorkerSender Thread:QuorumCnxManager@183] - Have smaller server identifier, so dropping the connection: (2, 1) 2012-11-22 03:09:08,588 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FastLeaderElection@721] - Updating proposal 2012-11-22 03:09:08,588 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,590 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 1 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,591 [myid:] - INFO [WorkerSender Thread:QuorumCnxManager@183] - Have smaller server identifier, so dropping the connection: (2, 1) 2012-11-22 03:09:08,592 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), FOLLOWING (n.state), 0 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,594 [myid:] - WARN [Thread-5:QuorumCnxManager$RecvWorker@727] - Connection broken for id 2, my id = 1, error = java.io.IOException: Channel eof 2012-11-22 03:09:08,595 [myid:] - WARN [Thread-5:QuorumCnxManager$RecvWorker@730] - Interrupting SendWorker 2012-11-22 03:09:08,596 [myid:] - WARN [Thread-4:QuorumCnxManager$SendWorker@633] - Interrupted while waiting for message on queue java.lang.InterruptedException at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2038) at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:340) at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:622) 2012-11-22 03:09:08,599 [myid:] - WARN [Thread-4:QuorumCnxManager$SendWorker@642] - Send worker leaving thread 2012-11-22 03:09:08,595 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 2 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,602 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LOOKING (n.state), 2 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,602 [myid:] - INFO [WorkerReceiver Thread:FastLeaderElection@496] - Notification: 2 (n.leader), 0 (n.zxid), 1 (n.round), LEADING (n.state), 2 (n.sid), LOOKING (my state) 2012-11-22 03:09:08,823 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:QuorumPeer@643] - FOLLOWING 2012-11-22 03:09:08,829 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Learner@80] - TCP NoDelay set to: true 2012-11-22 03:09:08,911 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:zookeeper.version=3.3.4--1, built on 04/12/2012 21:14 GMT 2012-11-22 03:09:08,912 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:host.name=10.111.88.62 2012-11-22 03:09:08,912 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.version=1.6.0_31 2012-11-22 03:09:08,913 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.vendor=Sun Microsystems Inc. 2012-11-22 03:09:08,913 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.home=/usr/local/jdk/jre 2012-11-22 03:09:08,914 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.class.path=/usr/local/share/zookeeper-3.3.4/bin/../build/classes:/usr/local/share/zookeeper-3.3.4/bin/../build/lib/*.jar:/usr/local/share/zookeeper-3.3.4/bin/../lib/log4j-1.2.15.jar:/usr/local/share/zookeeper-3.3.4/bin/../lib/jline-0.9.94.jar:/usr/local/share/zookeeper-3.3.4/bin/../zookeeper-3.3.4.jar:/usr/local/share/zookeeper-3.3.4/bin/../src/java/lib/*.jar:/etc/zookeeper: 2012-11-22 03:09:08,914 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.library.path=/usr/local/jdk/jre/lib/amd64/server:/usr/local/jdk/jre/lib/amd64:/usr/local/jdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2012-11-22 03:09:08,915 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.io.tmpdir=/tmp 2012-11-22 03:09:08,915 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:java.compiler=<NA> 2012-11-22 03:09:08,916 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:os.name=Linux 2012-11-22 03:09:08,916 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:os.arch=amd64 2012-11-22 03:09:08,916 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:os.version=2.6.18-238.19.1.el5 2012-11-22 03:09:08,917 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:user.name=zookeeper 2012-11-22 03:09:08,917 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:user.home=/home/zookeeper 2012-11-22 03:09:08,918 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Environment@97] - Server environment:user.dir=/ 2012-11-22 03:09:08,919 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:ZooKeeperServer@151] - Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir /var/lib/zookeeper/version-2 snapdir /var/lib/zookeeper/version-2 2012-11-22 03:09:08,951 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Learner@294] - Getting a snapshot from leader 2012-11-22 03:09:08,954 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Learner@325] - Setting leader epoch 1 2012-11-22 03:09:08,955 [myid:] - INFO [QuorumPeer:/0:0:0:0:0:0:0:0:2181:FileTxnSnapLog@254] - Snapshotting: 100000000 2012-11-22 03:12:07,310 [myid:] - WARN [QuorumPeer:/0:0:0:0:0:0:0:0:2181:Follower@116] - Got zxid 0x100000001 expected 0x1 2012-11-22 03:12:07,311 [myid:] - INFO [SyncThread:1:FileTxnLog@199] - Creating new log file: log.100000001 2012-11-22 03:12:07,502 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.35:34676 2012-11-22 03:12:07,506 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.35:34676 2012-11-22 03:12:07,529 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10000 with negotiated timeout 40000 for client /10.111.88.35:34676 2012-11-22 03:12:08,548 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed socket connection for client /10.111.88.35:34676 which had sessionid 0x13b261723e10000 2012-11-22 03:12:08,630 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.35:34677 2012-11-22 03:12:08,631 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.35:34677 2012-11-22 03:12:08,634 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10001 with negotiated timeout 40000 for client /10.111.88.35:34677 2012-11-22 03:12:09,644 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed socket connection for client /10.111.88.35:34677 which had sessionid 0x13b261723e10001 2012-11-22 03:12:10,833 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.35:34679 2012-11-22 03:12:10,834 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.35:34679 2012-11-22 03:12:10,837 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10002 with negotiated timeout 40000 for client /10.111.88.35:34679 2012-11-22 03:12:12,847 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1435] - Closed socket connection for client /10.111.88.35:34679 which had sessionid 0x13b261723e10002 2012-11-22 03:12:21,842 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.194:60300 2012-11-22 03:12:21,843 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.194:60300 2012-11-22 03:12:21,846 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10003 with negotiated timeout 40000 for client /10.111.88.194:60300 2012-11-22 03:12:23,876 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.57:60828 2012-11-22 03:12:23,877 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.57:60828 2012-11-22 03:12:23,881 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10004 with negotiated timeout 40000 for client /10.111.88.57:60828 2012-11-22 03:12:23,989 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn$Factory@251] - Accepted socket connection from /10.111.88.57:60829 2012-11-22 03:12:23,990 [myid:] - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@777] - Client attempting to establish new session at /10.111.88.57:60829 2012-11-22 03:12:23,993 [myid:] - INFO [CommitProcessor:1:NIOServerCnxn@1580] - Established session 0x13b261723e10005 with negotiated timeout 40000 for client /10.111.88.57:60829 {code} And only 2 region servers are started, see web ui: http://10.111.88.139:60010/master-status See service status on inactive region server: {code} [root@10 ~]# /etc/init.d/hbase-regionserver status regionserver is not running. {code} Attachment logs are in customized hw HBase cluster, also reproduce the same problem.

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.lang.InterruptedException
  3. 0

    Zookeeper Network Ensemble does not start appropiately

    Stack Overflow | 4 years ago | Marcelo Tataje
    java.lang.InterruptedException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PleaseHoldException when Master is clearly running as JPS

    Google Groups | 4 years ago | Jay Vyas
    java.lang.InterruptedException

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.InterruptedException

      No message provided

      at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait()
    2. Java RT
      ArrayBlockingQueue.poll
      1. java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1961)
      2. java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2038)
      3. java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:340)
      3 frames
    3. Zookeeper
      QuorumCnxManager$SendWorker.run
      1. org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:622)
      1 frame