I came upon this independently today, actually. Filed ZOOKEEPER-1030 On Fri, Mar 25, 2011 at 3:21 PM, Alex Baranau <alex.barano...@gmail.com>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 < > mathias.herbe...@gmail.com> 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 <alex.barano...@gmail.com> > > 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 <st...@duboce.net> wrote: > > > > > >> On Fri, Mar 25, 2011 at 12:36 PM, Alex Baranau < > > alex.barano...@gmail.com> > > >> 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