Class ZKMainServer.HACK_UNTIL_ZOOKEEPER_1897_ZooKeeperMain

java.lang.Object
org.apache.zookeeper.ZooKeeperMain
org.apache.hadoop.hbase.zookeeper.ZKMainServer.HACK_UNTIL_ZOOKEEPER_1897_ZooKeeperMain
Enclosing class:
ZKMainServer

private static class ZKMainServer.HACK_UNTIL_ZOOKEEPER_1897_ZooKeeperMain extends org.apache.zookeeper.ZooKeeperMain
ZooKeeper 3.4.6 broke being able to pass commands on command line. See ZOOKEEPER-1897. This class is a hack to restore this faclity.
  • Field Summary

    Fields inherited from class org.apache.zookeeper.ZooKeeperMain

    cl, commandCount, exitCode, history, host, printWatches, zk
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    Run the command-line args passed.

    Methods inherited from class org.apache.zookeeper.ZooKeeperMain

    addToHistory, connectToZK, executeLine, getCommands, getPrintWatches, getPrompt, main, printMessage, processCmd, processZKCmd

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait