[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] zookeeper discovery comes and goes
- From: Wim Jongman <wim.jongman@xxxxxxxxx>
- Date: Wed, 13 Oct 2010 10:58:09 +0200
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fdH0nl7Xped4XZj88SOmtCJL5EyYQRtqjapvKHJJALFrEGYhMtfQbVhnoW2DARsNB8 C0qoU2hsLDrTFm70Z84uSSPIjzouHtg4NjC6UmjvAYKEd77GwtbnnldayYtMjjJ5YdVn IvoSVn6v49ryZMcv7xf7ny+fk4b0q12GF3uBM=
AFAIK the discovery mechanism does not in itself guard the connection and decides to drop it. It merely listens and propagates service registrations/deregistrations to the distribution provider.
I would say this behavior should be seen with other discovery mechanisms as well.
Ahmed can you think of reasons why this could happen?
On Tue, Oct 12, 2010 at 4:56 PM, Bryan Hunt <bhunt@xxxxxxx>
I'm seeing a strange problem with zookeeper service discovery. I've been experimenting with YourKit and noticed a ConcurrentModificationException as reported here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=327170
When I went to capture a better stack trace, I noticed that when I remotely connected with YourKit, the client reported zookeeper undiscovered one of my 4 remote services. When I disconnect and reconnect YourKit, the client reports that zookeeper discovers 4 remote services.
This problem appears repeatable. The client and all 4 remote services are running on the same machine. Each remote service is running in it's own JVM. Any ideas on what is going on, or suggestions for tracking down the problem? Is there by chance some sort of very short keepalive that might be having problems if there were a network delay or thread delay when YourKit connects to the client JVM?
ecf-dev mailing list