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 <yuzhih...@gmail.com> 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 >