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

Switch to Plain View
Zookeeper >> mail # dev >> negotiated timeout


+
Ted Yu 2011-03-24, 22:20
+
Mahadev Konar 2011-03-24, 22:43
+
Ted Yu 2011-03-24, 22:49
+
Patrick Hunt 2011-03-24, 22:50
Copy link to this message
-
Re: negotiated timeout
Patrick:
Do you want me to look at maxSessionTimeout ?
Since hbase manages zookeeper, I am not sure I can control this parameter
directly.

On Thu, Mar 24, 2011 at 3:50 PM, Patrick Hunt <[EMAIL PROTECTED]> wrote:

>
> http://zookeeper.apache.org/doc/r3.3.3/zookeeperAdmin.html#sc_advancedConfiguration
>
> On Thu, Mar 24, 2011 at 3:43 PM, Mahadev Konar <[EMAIL PROTECTED]> wrote:
> > Hi Ted,
> >  The session timeout can be changed by the server depending on min/max
> > bounds set on the servers. Are you servers configured to have a max
> > timeout of 60 seconds? usually the default is 20 * tickTime. Looks
> > like your ticktime is 3 seconds?
> >
> > thanks
> > mahadev
> >
> >
> >
> > On Thu, Mar 24, 2011 at 3:20 PM, Ted Yu <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> hbase 0.90.1 uses zookeeper 3.3.2
> >> I specified:
> >> <property>
> >> <name>zookeeper.session.timeout</name>
> >> <value>490000</value>
> >> </property>
> >>
> >> In zookeeper log I see:
> >> 2011-03-24 19:58:09,499 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> Client attempting to establish new session at /10.202.50.111:50325
> >> 2011-03-24 19:58:09,499 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> Established session 0x12ebb99d686a012 with negotiated timeout 60000 for
> >> client /10.202.50.112:62386
> >> 2011-03-24 19:58:09,499 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> Client attempting to establish new session at /10.202.50.112:62387
> >> 2011-03-24 19:58:09,499 INFO
> >> org.apache.zookeeper.server.PrepRequestProcessor: Got user-level
> >> KeeperException when processing sessionid:0x12ebb99d686a012 type:create
> >> cxid:0x1 zxid:0xfffffffffffffffe txntype:unknown reqpath:n/a Error
> >> Path:/hbase Error:KeeperErrorCode = NodeExists for /hbase
> >> 2011-03-24 19:58:09,499 INFO org.apache.zookeeper.server.NIOServerCnxn:
> >> Established session 0x12ebb99d686a013 with negotiated timeout 60000 for
> >> client /10.202.50.111:50324
> >>
> >> Can someone tell me how the negotiated timeout of 60000 was computed ?
> >>
> >> Thanks
> >>
> >
>
+
Patrick Hunt 2011-03-24, 23:15