You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jingcheng Du (JIRA)" <ji...@apache.org> on 2014/09/19 12:53:34 UTC

[jira] [Created] (HBASE-12027) The ZooKeeperWatcher in HMobStore only uses the default conf

Jingcheng Du created HBASE-12027:
------------------------------------

             Summary: The ZooKeeperWatcher in HMobStore only uses the default conf
                 Key: HBASE-12027
                 URL: https://issues.apache.org/jira/browse/HBASE-12027
             Project: HBase
          Issue Type: Bug
    Affects Versions: hbase-11339
            Reporter: Jingcheng Du
            Assignee: Jingcheng Du
             Fix For: hbase-11339


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.



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