OK, so this is my ZooKeeper week, sorry. :)
So I'm trying to use ZkCLI without success. I DID start and stop Solr
in non-cloud mode, so everything is extracted and it IS finding
zookeeper*.jar. However, now it's NOT finding SolrJ.
I even tried to run it from the provided script (in cloud-scripts) with
no success. Here's what I've got:
>>> cd <my-solr-install>
>>>.\example\cloud-scripts\zkcli.bat -cmd upconfig -zkhost
localhost:9983 -confdir example/solr/collection/conf -confname conf1
-solrhome example/solr
>>>set JVM=java
>>>set SDIR=C:\sw\apache-solr-4.0.0\example\cloud-scripts\
>>>if "\" == "\" set SDIR=C:\sw\apache-solr-4.0.0\example\cloud-scripts
>>>"java" -classpath
"C:\sw\apache-solr-4.0.0\example\cloud-scripts\..\solr-webapp\webapp\WEB-INF\lib\*"
org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost localhost:9983
-confdir example/solr/collection/conf -confname conf1 -solrhome example/solr
Error: Could not find or load main class
C:\sw\apache-solr-4.0.0\example\cloud-scripts\..\solr-webapp\webapp\WEB-INF\lib\apache-solr-solrj-4.0.0.jar
I've verified that
C:\sw\apache-solr-4.0.0\example\cloud-scripts\..\solr-webapp\webapp\WEB-INF\lib\apache-solr-solrj-4.0.0.jar
exists, so I'm really at a loss here.
Thanks...
---- Nick