zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: How do we find the Server the client is connected to?
Date Thu, 01 Oct 2009 23:10:29 GMT
Grovel the logs.

On Thu, Oct 1, 2009 at 3:46 PM, Todd Greenwood <toddg@audiencescience.com>wrote:

> Failover testing.
>
> > -----Original Message-----
> > From: Patrick Hunt [mailto:phunt@apache.org]
> > Sent: Thursday, October 01, 2009 3:44 PM
> > To: zookeeper-user@hadoop.apache.org; Rob Baccus
> > Subject: Re: How do we find the Server the client is connected to?
> >
> > That detail is purposefully not exposed through the client api,
> however
> > it is output to the log on connection establishment.
> >
> > Why would your client code need to know which server in the ensemble
> it
> > is connected to?
> >
> > Patrick
> >
> > Rob Baccus wrote:
> > > How do I determine the server the client is connected to?  It is not
> > > exposed as far as I can see in either the ZooKeep object or the
> > > ClentCnxn object.  I did find on line 790 in
> ClientCnxn.StartConnect()
> > > method the place the actual server connection is happening but that
> is
> > > not exposed.
> > >
> > > Rob Baccus
> > > 425-201-3812
> > >
> > >
>



-- 
Ted Dunning, CTO
DeepDyve

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message