I was looking for 'Created server with tickTime' in zookeeper log but didn't find any.
hbase used to have the following: <property> <name>hbase.zookeeper.property.tickTime</name> <value>6000</value> </property> but 0.90.1 no longer honors it. I don't know to explain the difference in timeouts: 2011-03-24 20:46:37,881 INFO org.apache.zookeeper.server.NIOServerCnxn: Established session 0x12ebb99d686dfd4 with negotiated timeout 180000 for client /10.202.50.103:21705 2011-03-24 20:46:37,882 INFO org.apache.zookeeper.server.NIOServerCnxn: Established session 0x12ebb99d686dfd5 with negotiated timeout 60000 for client /10.202.50.114:2552 Regards 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 > > >
