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
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ZKMainServer

private static class ZKMainServer.HACK_UNTIL_ZOOKEEPER_1897_ZooKeeperMain extends org.apache.zookeeper.ZooKeeperMain implements Closeable
ZooKeeper 3.4.6 broke being able to pass commands on command line. See ZOOKEEPER-1897, ZOOKEEPER-4804. 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
    void
     
    (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