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

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

     [ https://issues.apache.org/jira/browse/HBASE-12027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jingcheng Du updated HBASE-12027:
---------------------------------
    Attachment: HBASE-12027.diff

Upload the patch.
Directly to use region.getBaseConf() instead of the conf of the HStore.

> 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
>
>         Attachments: HBASE-12027.diff
>
>
> 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)