org.apache.solr.cloud

## Class ZkCLI

- java.lang.Object
- - org.apache.solr.cloud.ZkCLI

-     public class ZkCLI
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ZkCLI()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Allows you to perform a variety of zookeeper related tasks, such as: Bootstrap the current configs for all collections in solr.xml.

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### ZkCLI

          public ZkCLI()

  - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws InterruptedException,
                                  TimeoutException,
                                  IOException,
                                  ParserConfigurationException,
                                  SAXException,
                                  org.apache.zookeeper.KeeperException

      Allows you to perform a variety of zookeeper related tasks, such as: Bootstrap the current configs for all collections in solr.xml. Upload a named config set from a given directory. Link a named config set explicity to a collection. Clear ZooKeeper info. If you also pass a solrPort, it will be used to start an embedded zk useful for single machine, multi node tests.
      Throws:
        `InterruptedException`
        `TimeoutException`
        `IOException`
        `ParserConfigurationException`
        `SAXException`
        `org.apache.zookeeper.KeeperException`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.