hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8785) revise zookeeper session timeout setting
Date Sat, 22 Jun 2013 03:11:20 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691026#comment-13691026

stack commented on HBASE-8785:

Looking in zk src, I see this in 3.4.5:

src//java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:        return maxSessionTimeout
== -1 ? tickTime * 20 : maxSessionTimeout;

If maxSessionTimeout is defined, it is what is used (Some context: http://mail-archives.apache.org/mod_mbox/zookeeper-dev/201109.mbox/%3CD3645B5B06A24B1195F6CF9041EF38AC@china.huawei.com%3E)

Regards 40s, yeah, it is a long time but what JD says.  It used to be 180s in 0.94 and was
made 90s in trunk.

> revise zookeeper session timeout setting
> ----------------------------------------
>                 Key: HBASE-8785
>                 URL: https://issues.apache.org/jira/browse/HBASE-8785
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.95.1
>            Reporter: Sergey Shelukhin
>             Fix For: 0.95.2
> Current ZK session timeout is set to 90sec., and the comment in the doc says: "This setting
becomes zookeeper's 'maxSessionTimeout'". However, this comment is misleading - it doesn't
always become maxSessionTimeout, min(our timeout, maxSessionTimeout) is chosen. Moreover,
the default maxSessionTimeout in ZK that I'm looking at is 40s, so this setting doesn't do
> Additionally, 40s. seems like a lot of time.
> 1) Should the comment be changed to tell the user to change ZK config if they want higher
> 2) Should the setting be revised down?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message