hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray (JIRA)" <j...@apache.org>
Subject [jira] Created: (HBASE-3123) ZKW constructor should not always create nodes and should be more amenable to general usage
Date Tue, 19 Oct 2010 00:00:26 GMT
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
             Fix For: 0.92.0


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message