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

Switch to Threaded View
Zookeeper >> mail # user >> zookeeper-3.3.2 has default maxClientCnxns set to 10?


Copy link to this message
-
Re: zookeeper-3.3.2 has default maxClientCnxns set to 10?
I came upon this independently today, actually. Filed ZOOKEEPER-1030

On Fri, Mar 25, 2011 at 3:21 PM, Alex Baranau <[EMAIL PROTECTED]>wrote:

> Right, from the same host (same ip). But in HBase I think the default max
> number of connections is set to 30. Please correct me if I'm wrong. If I'm
> right, then we should probably change either of the defaults. No?
>
>
> Alex Baranau
> ----
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - Hadoop - HBase
> Hadoop ecosystem search :: http://search-hadoop.com/
>
> On Fri, Mar 25, 2011 at 5:22 PM, Mathias Herberts <
> [EMAIL PROTECTED]> wrote:
>
> > It's 10 connections from the same host, I thought HBase was using a
> > wrapper to optimize the number of ZK clients?
> >
> > On Fri, Mar 25, 2011 at 21:57, Alex Baranau <[EMAIL PROTECTED]>
> > wrote:
> > > I see what you are asking. I'm using stand-alone Zookeeper, not
> > "internal"
> > > one of HBase. So it reads configuration only form zoo.cfg. And it seems
> > that
> > > by default (when maxClientCnxns is absent in it) it acts like
> > > maxClientCnxns=10. I'd expect it to be unlimited when this property is
> > > omitted. At least it was like this..
> > >
> > > Aha! I see they changed default to 10 *in 3.3.x*. I think HBase users
> > won't
> > > like it. What do you guys think?
> > >
> > > Alex Baranau
> > > ----
> > > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - Hadoop -
> > HBase
> > > Hadoop ecosystem search :: http://search-hadoop.com/
> > >
> > > On Fri, Mar 25, 2011 at 4:00 PM, Stack <[EMAIL PROTECTED]> wrote:
> > >
> > >> On Fri, Mar 25, 2011 at 12:36 PM, Alex Baranau <
> > [EMAIL PROTECTED]>
> > >> wrote:
> > >> > As far as I know HBase configured to initiate up to 30 connections
> by
> > >> > default, and maxClientCnxns for Zookeeper was meant to be 30 as
> well.
> > >>
> > >> Yes
> > >>
> > >> I'm not sure how it'd go from 30 to 10 (Is 10 the default connections
> > >> for zk?).  Is it possible its not reading hbase-site.xml when the task
> > >> runs?
> > >>
> > >> St.Ack
> > >>
> > >
> >
>

--
Todd Lipcon
Software Engineer, Cloudera