Deleting a Solr collection deletes the collection and its index, but does not delete its configuration files.
kinit
kinit solradmin@EXAMPLE.COM
Replace EXAMPLE.COM with your Kerberos realm name.
EXAMPLE.COM
SOLR_ZK_ENSEMBLE
/etc/solr/conf/solr-env.sh
$ cat /etc/solr/conf/solr-env.sh export SOLR_ZK_ENSEMBLE=zk01.example.com:2181,zk02.example.com:2181,zk03.example.com:2181/solr
If you are using Cloudera Manager, this is automatically set on hosts with a Solr Server or Gateway role.
solrctl collection --delete logs