@InterfaceAudience.LimitedPrivate(value="Tools") @InterfaceStability.Evolving public final class HQuorumPeer extends Object
ZKConfig
to get settings
from the hbase-site.xml file.Modifier | Constructor and Description |
---|---|
private |
HQuorumPeer() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
addressIsLocalHost(String address) |
static void |
main(String[] args)
Parse ZooKeeper configuration from HBase XML config and run a QuorumPeer.
|
private static void |
runZKServer(org.apache.zookeeper.server.quorum.QuorumPeerConfig zkConfig) |
(package private) static void |
writeMyID(Properties properties) |
private HQuorumPeer()
public static void main(String[] args)
args
- String[] of command line arguments. Not used.private static void runZKServer(org.apache.zookeeper.server.quorum.QuorumPeerConfig zkConfig) throws UnknownHostException, IOException
UnknownHostException
IOException
private static boolean addressIsLocalHost(String address)
static void writeMyID(Properties properties) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.