On 4/12/2016 2:20 PM, John Bickerstaff wrote:
> I'm wondering if anyone can comment on arguments for and against putting
> solr.xml into Zookeeper?
>
> I assume one argument for doing so is that I would then have all
> configuration in one place.
>
> I also assume that if it doesn't get included as part of the upconfig
> command, there is likely a reason?

If you want the *exact* same file to be used by all SolrCloud nodes,
especially if your cluster is fairly dynamic, then having solr.xml in
zookeeper makes this easier.  Because SolrCloud does not function
without zookeeper, having a critical server-level configuration file
stored there doesn't require an extra dependency.

If each node has a different solr.xml file, then you wouldn't want it to
be stored in zookeeper.

The solr.xml file configures a Solr server at a global level -- the
'upconfig' command is for uploading configurations for collections,
which (with the notable exception of maxBooleanClauses) does not include
any global config.

Thanks,
Shawn

Reply via email to