You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/11/21 02:11:39 UTC

[jira] Created: (HBASE-1997) zk tick time bounds maximum zk session time

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


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.


[jira] Updated: (HBASE-1997) zk tick time bounds maximum zk session time

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (HBASE-1997) zk tick time bounds maximum zk session time

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-1997.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.3
         Assignee: stack

Committed branch and trunk.

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


[jira] Updated: (HBASE-1997) zk tick time bounds maximum zk session time

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ 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.