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

[jira] [Resolved] (HBASE-3123) ZKW constructor should not always create nodes and should be more amenable to general usage

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

Andrew Purtell resolved HBASE-3123.
-----------------------------------

    Resolution: Won't Fix

Stale issue. Reopen if still relevant (if there's new activity)

> ZKW constructor should not always create nodes and should be more amenable to general usage
> -------------------------------------------------------------------------------------------
>
>                 Key: HBASE-3123
>                 URL: https://issues.apache.org/jira/browse/HBASE-3123
>             Project: HBase
>          Issue Type: Bug
>          Components: Zookeeper
>    Affects Versions: 0.90.0
>            Reporter: Jonathan Gray
>            Priority: Minor
>
> The constructor in ZooKeeperWatcher does too much.  It does things like create the layout in ZK.  It's probably not harmful but it's unnecessary.  It should ensure that the basenode is created.  Other stuff should at least be stuffed into an initializeNodes() method or the like and only called by the first active master on cluster startup.
> Other components in HBase that want to also access ZK, things like rest, should be able to reuse ZKW and ZKUtil easily.



--
This message was sent by Atlassian JIRA
(v6.2#6252)