public class QuorumPeerMain extends Object
Constructor and Description |
---|
QuorumPeerMain() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
To start the replicated server specify the configuration file name on
the command line.
|
void |
runFromConfig(org.apache.zookeeper.server.quorum.QuorumPeerConfig config) |
public static void main(String[] args)
args
- path to the configfilepublic void runFromConfig(org.apache.zookeeper.server.quorum.QuorumPeerConfig config) throws IOException, org.apache.zookeeper.server.admin.AdminServer.AdminServerException
IOException
org.apache.zookeeper.server.admin.AdminServer.AdminServerException
Copyright © 2015 The Apache Software Foundation