This content has been marked as final.
Show 4 replies
-
1. Re: Problem with shunning in jgroups
belaban Aug 29, 2005 9:58 AM (in response to jboss.hogstrom.se)This is not how shunning works: a member P is only shunned if P is excluded from the group and then (at some later time) comes back and claims to still be in the same group.
So in you case, this happens when you put the plug back in.
More info at: http://wiki.jboss.org/wiki/Wiki.jsp?page=Shunning -
2. Re: Problem with shunning in jgroups
milowe Aug 29, 2005 11:28 AM (in response to jboss.hogstrom.se)Thanks for the pointer Bela :)
I am running this test with Andreas. Our test cases always simulated hardware failure and produced subgroups, thats why we never got any shunning. We have changed the test case and can now see that a node is being shunned.
We have some problem with the ChannelListener though. We get the intial channelConnected() notification but no channelShunned() or channelClosed().62293 [UpHandler (FD)] DEBUG org.jgroups.protocols.FD - [NOT_MEMBER] I'm being shunned; exiting 62293 [UpHandler (STATE_TRANSFER)] DEBUG org.jgroups.blocks.PullPushAdapter - channel is shunned 62293 [UpHandler (STATE_TRANSFER)] INFO org.jgroups.JChannel - received an EXIT event, will leave the channel 62293 [CloserThread] INFO org.jgroups.JChannel - closing the channel 62293 [DownHandler (UDP)] DEBUG org.jgroups.protocols.UDP - closing sockets and stopping threads 62293 [UDP mcast receiver] DEBUG org.jgroups.protocols.UDP - multicast socket is closed, exception=java.net.SocketException: socket closed 62293 [UDP mcast receiver] DEBUG org.jgroups.protocols.UDP - multicast thread terminated 62293 [DownHandler (UDP)] DEBUG org.jgroups.protocols.UDP - multicast receive socket closed 62293 [DownHandler (UDP)] DEBUG org.jgroups.protocols.UDP - multicast send socket closed 62293 [UDP.UcastReceiverThread] DEBUG org.jgroups.protocols.UDP - unicast receiver socket is closed, exception=java.net.SocketException: socket closed 62293 [DownHandler (UDP)] DEBUG org.jgroups.protocols.UDP - socket closed 62293 [UDP.UcastReceiverThread] DEBUG org.jgroups.protocols.UDP - unicast receiver thread terminated 62293 [PullPushAdapterThread] WARN org.jgroups.blocks.PullPushAdapter - [<null>] channel closed, exception is ChannelClosedException
Any ideas? -
3. Re: Problem with shunning in jgroups
milowe Aug 29, 2005 11:40 AM (in response to jboss.hogstrom.se)Nevermind, problem solved.
Thanks anyway -
4. Re: Problem with shunning in jgroups
jackerm Oct 1, 2006 8:59 PM (in response to jboss.hogstrom.se)"milowe" wrote:
Nevermind, problem solved.
Thanks anyway
Hey milowe
I'm getting the same issue as you had in teh stack trace. What was the fix ?
Jonathan