On 1/10/2017 5:28 PM, Chetas Joshi wrote:
> I have got 2 shards having hash range set to null due to some index
> corruption.
>
> I am trying to manually get, edit and put the file.
<snip>
> ./zkcli.sh -zkhost ${zkhost} -cmd putfile ~/colName_state.json
> /collections/colName/state.json
>
> I am getting FileNotFound exception with the putfile command

You've got the parameters backwards.  The zookeeper location comes first.

Run the zkcli script with no parameters to see the examples of the
various commands available, which includes this line:

zkcli.sh -zkhost localhost:9983 -cmd putfile /solr.xml
/User/myuser/solr/solr.xml

Thanks,
Shawn

Reply via email to