hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Spiegelberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2841) Support psuedo-distributed ZooKeeper in HBase
Date Sat, 17 Jul 2010 00:19:50 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12889430#action_12889430

Nicolas Spiegelberg commented on HBASE-2841:

For developer...

psuedo-distributed ZK is more work than the others based upon the way that ZooKeeperWrapper
& HQuorumPeer was written. Should still be doable, but noting some of the problems for

1. Need to add conf item (hbase.zookeeper.myid) to override ID lookup in HQuorumPeer.writeMyID()
2. These config params should be different per HQuorumPeer: hbase.zookeeper.property.clientPort
+ hbase.zookeeper.property.dataDir
3. hbase.zookeeper.property.server.<id> should be given to hbase as <addr>:<peer_port>:<leader_port>:<client_port>
a. We currently don't allow a custom peer_port + leader_port even though ZK supports it
b. Need extra client_port for ZooKeeperWrapper.setQuorumServers()
4. GNU Parsing code needs to be added to HQuorumPeer to support overriding config values on
the fly.  See HMaster.doMain() for help

Also, make sure that the master rewrite code does not affect this change, if you finish first.

> Support psuedo-distributed ZooKeeper in HBase
> ---------------------------------------------
>                 Key: HBASE-2841
>                 URL: https://issues.apache.org/jira/browse/HBASE-2841
>             Project: HBase
>          Issue Type: Improvement
>          Components: scripts, zookeeper
>            Reporter: Nicolas Spiegelberg
>            Priority: Trivial
> HBASE-1511 added psuedo-distributed support for RegionServers and backup Masters, however
there were some obstacles preventing the last piece: psuedo-distributed ZooKeeper clients
(HQuorumPeer).  No major obstacles, just enough that I don't have time to work on them immediately.
 This would be a great noob task to get familiar with how our ZooKeeper code works and make
minor changes that will greatly help us test this product.  Note that if you're feeling extra
ambitious, you could work on adding startZkCluster(int), killZkPeer(int), and restartZkPeer(int)
to HBaseTestingUtility.java for JUnit test goodness.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message