hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-3123) ZKW constructor should not always create nodes and should be more amenable to general usage
Date Sun, 08 Jun 2014 22:05:02 GMT

     [ 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)

Mime
View raw message