Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13104

ZooKeeper session timeout cannot be changed for standalone HBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.98.10.1
    • 0.98.11
    • master
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-13104-0.98.patch
          1 kB
          Alex Araujo

        Activity

          People

            alexaraujo Alex Araujo
            alexaraujo Alex Araujo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: