Thanks Shawn and Erick!

On Wed, Jan 11, 2017 at 6:18 AM, Erick Erickson <erickerick...@gmail.com>
wrote:

> BTW, since Solr 6.2 you can get/put arbitrary znodes using the
> bin/solr script with more unix-like commands. To see the options type
> bin/solr zk -help
>
> You can get the same functionality out of either, it's a matter of
> which one you're more comfortable with.
>
> Erick
>
>
>
> On Tue, Jan 10, 2017 at 11:12 PM, Shawn Heisey <apa...@elyograg.org>
> wrote:
> > 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