Class ZKMainServer
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKMainServer
Tool for running ZookeeperMain from HBase by reading a ZooKeeper server from HBase XML
configuration.
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
ZooKeeper 3.4.6 broke being able to pass commands on command line. -
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
SERVER_ARG
- See Also:
-
-
Constructor Details
-
ZKMainServer
public ZKMainServer()
-
-
Method Details
-
parse
-
hasServer
- Parameters:
args
- the arguments to check- Returns:
- True if argument strings have a '-server' in them.
-
hasCommandLineArguments
- Parameters:
args
- the arguments to check for command-line arguments- Returns:
- True if command-line arguments were passed.
-
main
Run the tool.- Parameters:
args
- Command line arguments. First arg is path to zookeepers file.- Throws:
Exception
-