[
https://issues.apache.org/jira/browse/HBASE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-1997:
-------------------------
Attachment: 1997-v2.patch
Here is v2. It instead leaves the timeout at 60seconds and instead changes
tick time from 2 seconds to 3 seconds. Improves ticktime description too.
> zk tick time bounds maximum zk session time
> -------------------------------------------
>
> Key: HBASE-1997
> URL: https://issues.apache.org/jira/browse/HBASE-1997
> Project: Hadoop HBase
> Issue Type: Bug
> Reporter: stack
> Fix For: 0.20.3
>
> Attachments: 1997-v2.patch, 1997.patch
>
>
> Default session is set to 60 seconds but ticktime is 2 seconds.
> http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkSessions
> "One of the parameters to the ZooKeeper client library call to create a
> ZooKeeper session is the session timeout in milliseconds. The client sends a
> requested timeout, the server responds with the timeout that it can give the
> client. The current implementation requires that the timeout be a minimum of
> 2 times the tickTime (as set in the server configuration) and a maximum of 20
> times the tickTime."
> So, max is actually 40 seconds.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.