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

The ZooKeeperWatcher in HMobStore only uses the default conf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: hbase-11339
    • Fix Version/s: hbase-11339, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: