public class ActiveMasterManager
extends ZKListener
Listens and responds to ZooKeeper notifications on the master znode,
both nodeCreated and nodeDeleted.
Contains blocking methods which will hold up backup masters, waiting for the active master to fail.
This class is instantiated in the HMaster constructor and the method #blockUntilBecomingActiveMaster() is called to wait until becoming the active master of the cluster.
| Modifier and Type | Method and Description |
|---|---|
void |
nodeCreated(java.lang.String path) |
void |
nodeDeleted(java.lang.String path) |
void |
setInfoPort(int infoPort) |
void |
stop() |