Zookeeper logs is showing -1 as min/max session timeout if there is no value 
configured in zoo.cfg
--------------------------------------------------------------------------------------------------

                 Key: ZOOKEEPER-1227
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1227
             Project: ZooKeeper
          Issue Type: Bug
          Components: server
    Affects Versions: 3.3.3
            Reporter: Rakesh R
            Assignee: Rakesh R
            Priority: Minor
             Fix For: 3.5.0


When starting the ZooKeeper without configuring 'minimumSessionTimeOut' and 
'maximumSessionTimeOut'. 

I'm seeing the '-1' as the lower and the upper bound, instead it should give 
the default values : tickTime*2 and tickTime*20

{noformat}
2011-10-14 13:07:18,761 - INFO  [main:QuorumPeerConfig@92] - Reading 
configuration from: 
/home/amith/CI/source/install/zookeeper/zookeeper1/bin/../conf/zoo.cfg

2011-10-14 13:07:19,118 - INFO  [main:QuorumPeer@834] - tickTime set to 2000
2011-10-14 13:07:19,119 - INFO  [main:QuorumPeer@845] - minSessionTimeout set 
to -1
2011-10-14 13:07:19,119 - INFO  [main:QuorumPeer@856] - maxSessionTimeout set 
to -1
{noformat}


*Suggestion*
Move the defaulting logic to the QuorumPeerConfig instead of doing in the 
QuorumPeer

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to