On 12/16/2015 5:18 AM, Andrej van der Zee wrote:
> I have tried several variations to upload solr.xml to Zookeeper like these:
>
>  /opt/solr/server/scripts/cloud-scripts/zkcli.sh -cmd upconfig -confdir
> /etc/zookeeper/solr.xml -confname solr -z 1.2.3.4:2181
>
> But somehow the Solr instances cant find it.

The "upconfig" command uploads an entire collection configuration to
zookeeper under the /configs location in the ZK database.  It doesn't
handle solr.xml or anything else at the root of the database.

This is what you need:

https://cwiki.apache.org/confluence/display/solr/Using+ZooKeeper+to+Manage+Configuration+Files#UsingZooKeepertoManageConfigurationFiles-PreparingZooKeeperbeforefirstclusterstart

Thanks,
Shawn

Reply via email to