Alex Araujo created HBASE-13104:
-----------------------------------

             Summary: ZooKeeper session timeout cannot be changed for 
standalone HBase
                 Key: HBASE-13104
                 URL: https://issues.apache.org/jira/browse/HBASE-13104
             Project: HBase
          Issue Type: Bug
          Components: master
    Affects Versions: 0.98.10.1
            Reporter: Alex Araujo


It's not possible to increase the ZooKeeper session timeout in standalone HBase 
due to a hardcoded 10s timeout in HMasterCommandLine:

https://github.com/apache/hbase/blob/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMasterCommandLine.java#L176

In trunk you can append .localHBaseCluster to the ZK session timeout property 
name to change the timeout:

https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMasterCommandLine.java#L169-171

We should allow changing the timeout in 0.98 and other versions where it's not 
possible to do so.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to