Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st. We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here. Need help or have questions? Drop us a line at [email protected]
These instructions assume you don't need to preserve Solr indexes. If you do, modify ZK commands to move nodes instead of removing them.
Stop every SolrCloud node:
# on every SolrCloud node
su - solr
cd /opt/lucidworks-hdpsearch/solr/bin/
./solr stop -all
Connect to your ZooKeeper quorum and run zkCli shell:
su - zookeeper
cd /usr/hdp/current/zookeeper-client/bin/
# point it to a ZK quorum (or just a single ZK server is ok, e.g. localhost)
./zkCli.sh -server lake02:2181,lake03:2181,lake04:2181
If you followed best practices and chroot'ed your SolrCloud already, then things are easy (and you probably are done by now):
# in ZK cli shell
rmr /solr
More often this wasn't the case, so perform the following operations on your ZK tree: