Delete/remove Solr configuration from ZooKeeper using zkcli?
From within your zookeeper bin directory, start zkCli.sh
, this will open zookeeper console.
Then fire the following command to delete a node/config:
rmr /configs
You missed the -z parameter which is mandatory (Zookeeper-3.4.8).
The correct command for deleting configset AAA on Solr (v.6.1.0) running on localhost with zookeeper on port 2181 is:
./server/scripts/cloud-scripts/zkcli.sh -cmd clear -z "localhost:2181" /configs/AAA
when in the root directory of Solr.
So to answer your question: Yes, you can use clear, and the path should be /configs/< name of configset >
Resources: https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities