Class ZKServerTool

java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZKServerTool

@LimitedPrivate("Tools") public final class ZKServerTool extends Object
Tool for reading ZooKeeper servers from HBase XML configuration and producing a line-by-line list for use by bash scripts.
  • Constructor Details

  • Method Details

    • readZKNodes

      public static ServerName[] readZKNodes(org.apache.hadoop.conf.Configuration conf)
    • main

      public static void main(String[] args)
      Run the tool.
      Parameters:
      args - Command line arguments.