Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # user - Ephemeral node not getting deleted


Copy link to this message
-
Re: Ephemeral node not getting deleted
Camille Fournier 2012-12-04, 15:10
This is probably not debuggable with just this log snippet, or at least
nothing jumps out at me. Can you open a jira ticket and include the
transaction logs from all 3 zookeepers in the ticket?

Thanks,
Camille

On Tue, Dec 4, 2012 at 5:53 AM, Deepa <[EMAIL PROTECTED]> wrote:

> Hi,
>
>   I have zookeeper cluster of size 3,with the following parameters set
> across all the servers:
> tickTime=2000
> initLimit=10
> syncLimit=5
>
>   Session timeout is set to 40sec and using zookeeper 3.4.4. My application
> works something like this:
> It creates ephemeral nodes if it can grab and serve a range from a list of
> ranges . It basically creates 2 ephemerals if its successful in finding a
> range. From the zookeeper server logs, I see that only one of the ephemeral
> node is getting deleted while bringing down servers randomly and restarting
> them.
>
> Please find the log snippet below:
>
> 2012-12-03 19:22:52,360 [myid:2] - DEBUG
> [FollowerRequestProcessor:2:CommitProcessor@171] - Processing request::
> sessionid:0x23b6109f83e0001 type:createSession cxid:0x0
> zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a
> 2012-12-03 19:22:52,362 [myid:2] - DEBUG
> [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:2181:CommitProcessor@161] - Committing
> request:: sessionid:0x23b6109f83e0001 type:createSession cxid:0x0
> zxid:0x3000000013 txntype:-10 reqpath:n/a
> 2012-12-03 19:22:52,362 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@88] - Processing request::
> sessionid:*0x23b6109f83e0001* type:createSession cxid:0x0 zxid:0x3000000013
> txntype:-10 reqpath:n/a
> 2012-12-03 19:22:52,363 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@160] -
> sessionid:*0x23b6109f83e0001
> *type:createSession cxid:0x0 zxid:0x3000000013 txntype:-10 reqpath:n/a
> 2012-12-03 19:22:52,364 [myid:2] - INFO
> [CommitProcessor:2:ZooKeeperServer@595] - Established session
> *0x23b6109f83e0001 *with negotiated timeout 40000 for client
> /192.168.11.94:3566
>
> 2012-12-03 19:23:01,143 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@88] - Processing request::
> sessionid:*0x23b6109f83e0001 *type:create cxid:0x50bdb440 zxid:0x300000002d
> txntype:1 reqpath:/CONFIGNODE/NP2147483647
> 2012-12-03 19:23:01,144 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@160] -
> sessionid:*0x23b6109f83e0001
> *type:create cxid:0x50bdb440 zxid:0x300000002d txntype:1
> reqpath:*/CONFIGNODE/NP2147483647*
>
> 2012-12-03 19:23:01,157 [myid:2] - DEBUG
> [FollowerRequestProcessor:2:CommitProcessor@171] - Processing request::
> sessionid:*0x23b6109f83e0001 *type:create cxid:0x50bdb444
> zxid:0xfffffffffffffffe txntype:unknown reqpath:*/ACTIVE/NP2147483647*
> 2012-12-03 19:23:01,159 [myid:2] - DEBUG
> [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:2181:CommitProcessor@161] - Committing
> request:: sessionid:0x23b6109f83e0001 type:create cxid:0x50bdb444
> zxid:0x3000000032 txntype:1 reqpath:n/a
> 2012-12-03 19:23:01,159 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@88] - Processing request::
> sessionid:0x23b6109f83e0001 type:create cxid:0x50bdb444 zxid:0x3000000032
> txntype:1 reqpath:/ACTIVE/NP2147483647
> 2012-12-03 19:23:01,160 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@160] -
> sessionid:0x23b6109f83e0001
> type:create cxid:0x50bdb444 zxid:0x3000000032 txntype:1
> reqpath:*/ACTIVE/NP2147483647*
> 2012-12-03 19:45:16,672 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@88] - Processing request::
> sessionid:0x23b6109f83e0001 type:ping cxid:0xfffffffffffffffe
> zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a
> 2012-12-03 19:45:16,672 [myid:2] - DEBUG
> [CommitProcessor:2:FinalRequestProcessor@160] -
> sessionid:0x23b6109f83e0001
> type:ping cxid:0xfffffffffffffffe zxid:0xfffffffffffffffe txntype:unknown
> reqpath:n/a
> 2012-12-03 19:45:26,966 [myid:2] - WARN
> [RecvWorker:1:QuorumCnxManager$RecvWorker@762] - Connection broken for id
> 1,
> my id = 2, error > java.io.EOFException
>         at java.io.DataInputStream.readInt(DataInputStream.java:392)