Package org.apache.solr.cloud
Class ZkCLI
- java.lang.Object
-
- org.apache.solr.cloud.ZkCLI
-
public class ZkCLI extends Object
-
-
Constructor Summary
Constructors Constructor Description ZkCLI()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.static void
setStdout(PrintStream stdout)
-
-
-
Method Detail
-
setStdout
public static void setStdout(PrintStream stdout)
-
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
-
-