[ 
https://issues.apache.org/jira/browse/HBASE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-1997:
-------------------------

    Attachment: 1997.patch

Change session timeout to 40 seconds.  Fixed the explaination.

> 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
>         Attachments: 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.

Reply via email to