hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Satish Bhatti" <cthd2...@gmail.com>
Subject Client Termination Error
Date Fri, 15 Aug 2008 22:48:57 GMT
Has anybody come across the following error:

(1) Start up ZooKeeper on 2 machines.
(2) Connect 2 ZooKeeper clients, one per machine.
(3) Exit one of the clients with a <CTRL>-C.

The server that client was connected to goes into an unrecoverable error
state, and continuously spits the following out to the console:

ERROR - [NIOServerCxn.Factory:NIOServerCnxn$Factory@152] - FIXMSG
java.nio.channels.CancelledKeyException
   at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
   at
com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:136)
ERROR - [NIOServerCxn.Factory:NIOServerCnxn$Factory@152] - FIXMSG
java.nio.channels.CancelledKeyException
   at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
   at
com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:136)
ERROR - [NIOServerCxn.Factory:NIOServerCnxn$Factory@152] - FIXMSG
java.nio.channels.CancelledKeyException
   at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
   at
com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:136)
ERROR - [NIOServerCxn.Factory:NIOServerCnxn$Factory@152] - FIXMSG
java.nio.channels.CancelledKeyException
   at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
   at
com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:136)
ERROR - [NIOServerCxn.Factory:NIOServerCnxn$Factory@152] - FIXMSG
java.nio.channels.CancelledKeyException
   at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
   at
com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:136)
ERROR - [NIOServerCxn.Factory:NIOServerCnxn$Factory@152] - FIXMSG
java.nio.channels.CancelledKeyException
   at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
   at
com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:136)


Notes:
---------

I cannot reproduce this every time, but I can get it about 7 times out of
10.

ZooKeeper version
---------------------------
2.2.1. from SourceForge

OS (Ubuntu)
----
Linux 2.6.22-14-generic #1 SMP Fri Feb 1 04:59:50 UTC 2008 i686 GNU/Linux

Java VM (Sun JDK)
------------
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)


Satish

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message