Class ZKServerTool
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKServerTool
Tool for reading ZooKeeper servers from HBase XML configuration and producing a line-by-line list
for use by bash scripts.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Run the tool.static ServerName[]
readZKNodes
(org.apache.hadoop.conf.Configuration conf)
-
Constructor Details
-
ZKServerTool
private ZKServerTool()
-
-
Method Details
-
readZKNodes
-
main
Run the tool.- Parameters:
args
- Command line arguments.
-