zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jordan Zimmerman <jzimmer...@netflix.com>
Subject Re: Causing ZSESSIONEXPIRED
Date Thu, 26 Jan 2012 22:39:45 GMT
The Curator Test module has a class that does this:

https://github.com/Netflix/curator/blob/master/curator-test/src/main/java/c
om/netflix/curator/test/KillSession.java


On 1/26/12 2:38 PM, "Benjamin Reed" <breed@apache.org> wrote:

>one easy way is to terminate the session using JMX.
>
>ben
>
>On Thu, Jan 26, 2012 at 2:00 PM, Jonathan Simms <slyphon@gmail.com> wrote:
>> Hello all,
>>
>> I'm trying to debug how my app handles an expired session, and i'm
>> having trouble understanding how to cause this error to occur. I'd
>> like to test my app "in the wild" doing the right thing in this case
>> (as it seems to happen every 24 hrs or so in my cluster for whatever
>> reason). Can someone explain to me how to cause the conditions
>> necessary?
>>
>> Thanks,
>> Jonathan
>


Mime
View raw message