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
IOExceptionorg.apache.zookeeper.server.admin.AdminServer.AdminServerExceptionCopyright © 2014 The Apache Software Foundation