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

The ZooKeeperWatcher in HMobStore only uses the default conf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • hbase-11339
    • hbase-11339, 2.0.0
    • None
    • None
    • Reviewed

    Description

      In HMobStore we need to create a ZooKeeperWatcher for a major compaction.
      There the conf of store is directly passed into the ZookeeperWatcher, this conf is a CompoundConfiguration.
      In ZookeeperWatcher, this conf is converted into a Configuration by new Configuration(compoundConfiguration), and the zk-related conf are lost, only default settings are used by the zookeeper.
      In the HMobStore, we should pass the region.getBaseConf() which is a Configuration to the ZookeeperWatcher.

      Attachments

        1. HBASE-12027.diff
          0.8 kB
          Jingcheng Du

        Activity

          People

            jingcheng.du@intel.com Jingcheng Du
            jingcheng.du@intel.com Jingcheng Du
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: