org.apache.hadoop.hbase.zookeeper
Class ZKServerTool

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

@InterfaceAudience.Public
@InterfaceStability.Evolving
public 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 Summary
ZKServerTool()
           
 
Method Summary
static void main(String[] args)
          Run the tool.
static ServerName[] readZKNodes(org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZKServerTool

public ZKServerTool()
Method Detail

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.


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.