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

Jacob Davis commented on HBASE-18675:
-------------------------------------

The default values for minSessionTimeout and maxSessionTimeout are -1 and when 
it is set that way, the calculations for tickTime*2 and tickTime*20 are handled 
within the ZooKeeperServer class.

Perhaps this should default to -1 here as well.  This way, if it is ever 
decided to change from tickTime*2 and tickTime*20, there will only be one place 
it needs to be changed.

> Making {max,min}SessionTimeout configurable for MiniZooKeeperCluster
> --------------------------------------------------------------------
>
>                 Key: HBASE-18675
>                 URL: https://issues.apache.org/jira/browse/HBASE-18675
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>            Reporter: Cesar Delgado
>            Assignee: Cesar Delgado
>            Priority: Minor
>         Attachments: MiniZooKeeperCluster_HBASE_8675.patch, 
> MiniZooKeeperCluster_HBASE_8675.patch, MiniZooKeeperCluster_HBASE_8675.patch
>
>
> Right now the mini cluster on application developers laptops keep crashing 
> when the laptop goes to sleep because Zookeeper times out. We've seen this 
> for a while and [~ekoontz] had worked on it before. Now that we tried to 
> upgrade it's bitten us so we'd like to push this up as I'm sure we're not the 
> only ones getting bitten by this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to