org.apache.solr.cloud
Class ZkCLI
java.lang.Object
org.apache.solr.cloud.ZkCLI
public class ZkCLI
- extends Object
Constructor Summary |
ZkCLI()
|
Method Summary |
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 |
ZkCLI
public ZkCLI()
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-2013 Apache Software Foundation. All Rights Reserved.