zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: Exception on close of connection (WAS -> Re: c client on win32)
Date Sat, 21 Nov 2009 00:33:51 GMT
stack wrote:
> On Fri, Nov 20, 2009 at 4:22 PM, stack <stack@duboce.net> wrote:
>> Is it correct that an error at this stage throws out all connected
>> sessions?

No, it's unrelated. Notice that the 00790 only shows up once.

It's a co-incidence that the other sessions are all expiring.

also notice that 0x1250f26319f0016 gets a read error, then 30 seconds 
later it's session expires (but this is 3 hours before 00790 dies)

Patrick


>>
>> Thanks,
>> St.Ack
>>
>>
>> 2009-11-20 00:00:04,948 INFO org.apache.zookeeper.server.NIOServerCnxn:
>> Connected to /10.1.20.101:50716 lastZxid 0
>> 2009-11-20 00:00:04,982 INFO org.apache.zookeeper.server.NIOServerCnxn:
>> Creating new session 0x1250f26319f0016
>> 2009-11-20 00:00:05,051 INFO org.apache.zookeeper.server.NIOServerCnxn:
>> Finished init of 0x1250f26319f0016 valid:true
>> 2009-11-20 00:00:05,051 WARN
>> org.apache.zookeeper.server.PrepRequestProcessor: Got exception when
>> processing sessionid:0x1250f26319f0016 type:create c
>> xid:0x1 zxid:0xfffffffffffffffe txntype:unknown n/a
>> org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode =
>> NodeExists
>>         at
>> org.apache.zookeeper.server.PrepRequestProcessor.pRequest(PrepRequestProcessor.java:245)
>>         at
>> org.apache.zookeeper.server.PrepRequestProcessor.run(PrepRequestProcessor.java:114)
>> 2009-11-20 00:00:40,150 WARN
>> org.apache.zookeeper.server.PrepRequestProcessor: Got exception when
>> processing sessionid:0x1250f26319f0016 type:create c
>> xid:0x4 zxid:0xfffffffffffffffe txntype:unknown n/a
>> org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode =
>> NodeExists
>>         at
>> org.apache.zookeeper.server.PrepRequestProcessor.pRequest(PrepRequestProcessor.java:245)
>>         at
>> org.apache.zookeeper.server.PrepRequestProcessor.run(PrepRequestProcessor.java:114)
>> 2009-11-20 00:00:50,428 WARN org.apache.zookeeper.server.NIOServerCnxn:
>> Exception causing close of session 0x1250f26319f0016 due to
>> java.io.IOExceptio
>> n: Read error
>> 2009-11-20 00:00:50,429 INFO org.apache.zookeeper.server.NIOServerCnxn:
>> closing session:0x1250f26319f0016 NIOServerCnxn:
>> java.nio.channels.SocketChann
>> el[connected local=/10.1.20.101:2181 remote=/10.1.20.101:50716]
>> 2009-11-20 00:01:22,002 INFO
>> org.apache.zookeeper.server.SessionTrackerImpl: Expiring session
>> 0x1250f26319f0016
>> 2009-11-20 00:01:22,002 INFO org.apache.zookeeper.server.ZooKeeperServer:
>> Expiring session 0x1250f26319f0016
>> 2009-11-20 00:01:22,002 INFO
>> org.apache.zookeeper.server.PrepRequestProcessor: Processed session
>> termination request for id: 0x1250f26319f0016
>> 2009-11-20 03:41:04,766 WARN org.apache.zookeeper.server.NIOServerCnxn:
>> Exception causing close of session 0x124bc250d700790 due to
>> java.io.IOExceptio
>> n: Read error
>> 2009-11-20 03:41:04,864 INFO
>> org.apache.zookeeper.server.SessionTrackerImpl: Expiring session
>> 0x1250f26319f0000
>> 2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.ZooKeeperServer:
>> Expiring session 0x1250f26319f0000
>> 2009-11-20 03:41:04,927 INFO
>> org.apache.zookeeper.server.SessionTrackerImpl: Expiring session
>> 0x124bc250d7007a2
>> 2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.ZooKeeperServer:
>> Expiring session 0x124bc250d7007a2
>> 2009-11-20 03:41:04,927 INFO
>> org.apache.zookeeper.server.SessionTrackerImpl: Expiring session
>> 0x124bc250d700794
>> 2009-11-20 03:41:04,927 INFO org.apache.zookeeper.server.ZooKeeperServer:
>> Expiring session 0x124bc250d700794
>>
>>
>>
> 

Mime
View raw message