|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.zookeeper.HQuorumPeer
public class HQuorumPeer
HBase's version of ZooKeeper's QuorumPeer. When HBase is set to manage
ZooKeeper, this class is used to start up QuorumPeer instances. By doing
things in here rather than directly calling to ZooKeeper, we have more
control over the process. This class uses ZKConfig to parse the
zoo.cfg and inject variables from HBase's site.xml configuration in.
| Constructor Summary | |
|---|---|
HQuorumPeer()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
Parse ZooKeeper configuration from HBase XML config and run a QuorumPeer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HQuorumPeer()
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - String[] of command line arguments. Not used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||