@InterfaceAudience.LimitedPrivate(value="Tools") public class ZKMainServer extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
ZKMainServer.HACK_UNTIL_ZOOKEEPER_1897_ZooKeeperMain
ZooKeeper 3.4.6 broke being able to pass commands on command line.
|
Modifier and Type | Field and Description |
---|---|
private static String |
SERVER_ARG |
Constructor and Description |
---|
ZKMainServer() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
hasCommandLineArguments(String[] args) |
private static boolean |
hasServer(String[] args) |
static void |
main(String[] args)
Run the tool.
|
String |
parse(org.apache.hadoop.conf.Configuration c) |
private static final String SERVER_ARG
public ZKMainServer()
private static boolean hasServer(String[] args)
args
- the arguments to checkprivate static boolean hasCommandLineArguments(String[] args)
args
- the arguments to check for command-line argumentsCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.