Hello Dmitry.
It requires some steps to reproduce. Meanwhile, may you provide -V output?
and perhaps an overview of what's been placed in Zk during the attempt?
I also remember that windows script requires -solrUrl  argument in certain
cases, may you supply it with?

On Wed, Dec 27, 2023 at 4:16 AM Dmitri Maziuk <dmitri.maz...@gmail.com>
wrote:

> Re-post:
>
> solr-8.11.2 on windows; on a standalone node `bin\solr.cmd create -c
> mycore` succeeds with or without '-d myconfig' parameter.
>
> On a 2-node cluster w/ external zookeeper 3.8.3 it fails with
> '''
> ... Caused by: Can't find resource 'lang/contractions_it.txt' in
> classpath or 'configs/mycore'
> '''
> -- again, with or without '-d myconfig' parameter. (And yes, there is
> lang/contractions_it.txt in "myconfig".)
>
> However,
> '''
> \server\scripts\cloud-scripts\zkcli.bat -cmd upconfig -zkhost
> localhost:2181 -d myconfig -n mycore
> '''
>
> succeeds, and the subsequent
> '''
> bin\solr.cmd create -c mycore -d myconfig
> '''
>
> succeeds too.
>
> So it seems that zookeeper works and the failure is in solr.cmd --
> either it doesn't work as documented in
>
> https://solr.apache.org/guide/8_11/solr-control-script-reference.html#configuration-directories-and-solrcloud
> at all, or only on winders.
>
> Dima
>


-- 
Sincerely yours
Mikhail Khludnev

Reply via email to