Thanks Mahadev,
It was using Gnu Java.  The JAVA_HOME env var was not set up to use the Sun
JDK.  The perils of "borrowing" (stealing?) someone else's machine for
ZooKeeper testing! :)

On Fri, Aug 15, 2008 at 4:46 PM, Satish Bhatti <[EMAIL PROTECTED]> wrote:

> hmmm, you're right.  WTF!  I am supposed to be using Sun's JDK.  Let me
> check, that is not my machine, so maybe its using some crappy Gnu Java.
>
>
> On Fri, Aug 15, 2008 at 4:39 PM, Mahadev Konar <[EMAIL PROTECTED]>wrote:
>
>> Hi Satish,
>>  I see gnu.java* in your exceptions. Are you using gcj?
>>
>> mahadev
>>
>> > -----Original Message-----
>> > From: Satish Bhatti [mailto:[EMAIL PROTECTED]
>> > Sent: Friday, August 15, 2008 3:49 PM
>> > To: zookeeper-user@hadoop.apache.org
>> > Subject: Client Termination Error
>> >
>> > 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:[EMAIL PROTECTED] - FIXMSG
>> > java.nio.channels.CancelledKeyException
>> >    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
>> >    at
>> >
>> com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:
>> 13
>> > 6)
>> > ERROR - [NIOServerCxn.Factory:[EMAIL PROTECTED] - FIXMSG
>> > java.nio.channels.CancelledKeyException
>> >    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
>> >    at
>> >
>> com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:
>> 13
>> > 6)
>> > ERROR - [NIOServerCxn.Factory:[EMAIL PROTECTED] - FIXMSG
>> > java.nio.channels.CancelledKeyException
>> >    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
>> >    at
>> >
>> com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:
>> 13
>> > 6)
>> > ERROR - [NIOServerCxn.Factory:[EMAIL PROTECTED] - FIXMSG
>> > java.nio.channels.CancelledKeyException
>> >    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
>> >    at
>> >
>> com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:
>> 13
>> > 6)
>> > ERROR - [NIOServerCxn.Factory:[EMAIL PROTECTED] - FIXMSG
>> > java.nio.channels.CancelledKeyException
>> >    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
>> >    at
>> >
>> com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:
>> 13
>> > 6)
>> > ERROR - [NIOServerCxn.Factory:[EMAIL PROTECTED] - FIXMSG
>> > java.nio.channels.CancelledKeyException
>> >    at gnu.java.nio.SelectionKeyImpl.readyOps(libgcj.so.81)
>> >    at
>> >
>> com.yahoo.zookeeper.server.NIOServerCnxn$Factory.run(NIOServerCnxn.java:
>> 13
>> > 6)
>> >
>> >
>> > 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
>>
>
>

Reply via email to