Hi,

I use Solr Cloud with 3 ZK nodes in production and it is good.

Now I try to create a "simple" Solr docker container in a test environment.
I don't want to create ZK nodes too so I run solr with the -DzkRun
parameter to start embedded Zookeeper. After it start I uploaded my
configuration to ZK and created a collection in the Solr Admin UI based on
this uploaded config. So far so good.

The problem occurs when I restart Solr, the log:

o.a.s.c.ZkController bootstrapping config for 1 cores into ZooKeeper using
solr.xml from /var/solr/data
o.a.s.c.ZkController Uploading directory
/var/solr/data/users_shard1_replica_n1/conf with name
users_shard1_replica_n1 for SolrCore users_shard1_replica_n1
o.a.s.c.ZkContainer  => java.io.IOException: Path
/var/solr/data/users_shard1_replica_n1/conf does not exist

It seems it tries to upload a "conf" directory into ZK at bootstrap. It is
not ok as the collection is created based on configuration in ZK. In the
core.properties there is the line:

collection.configName=myconfig

But it seems it is ignored. What is the problem here? May I do something
wrong?

Thanks, Tamás

Reply via email to