Re: Updating configset

2020-09-12 Thread Robert Vernon Phillips
unsubscribe On 9/11/20, Carroll, Michael (ELS-PHI) wrote: > Thanks for the help everyone. I'm hopeful for the PR, Tomás. That looks to > be exactly what I was looking for! > > Best, > Michael Carroll > > On 9/11/20, 8:44 PM, "Tomás Fernández Löbbe" > wrote: > > *** External email: use

Re: Updating configset

2020-09-11 Thread Carroll, Michael (ELS-PHI)
Thanks for the help everyone. I'm hopeful for the PR, Tomás. That looks to be exactly what I was looking for! Best, Michael Carroll On 9/11/20, 8:44 PM, "Tomás Fernández Löbbe" wrote: *** External email: use caution *** I created

Re: Updating configset

2020-09-11 Thread Tomás Fernández Löbbe
I created https://github.com/apache/lucene-solr/pull/1861 On Fri, Sep 11, 2020 at 11:43 AM Walter Underwood wrote: > I wrote some Python to get the Zookeeper address from CLUSTERSTATUS, then > use the Kazoo library to upload a configset. Then it goes back to the > cluster and > runs an async

Re: Updating configset

2020-09-11 Thread Walter Underwood
I wrote some Python to get the Zookeeper address from CLUSTERSTATUS, then use the Kazoo library to upload a configset. Then it goes back to the cluster and runs an async command to RELOAD. I really should open source that thing (in my copious free time). wunder Walter Underwood

Re: Updating configset

2020-09-11 Thread Tomás Fernández Löbbe
Right, the problem is that both, bin/solr zk and ZkConfigManager require "direct access" to ZooKeeper (you have to have ZooKeeper exposed). I believe the original question was about how to achieve this without exposing ZooKeeper. On Fri, Sep 11, 2020 at 11:00 AM Andy C wrote: > Don't know if

Re: Updating configset

2020-09-11 Thread Andy C
Don't know if this is an option for you but the SolrJ Java Client library has support for uploading a config set. If the config set already exists it will overwrite it, and automatically RELOAD the dependent collection. See

Re: Updating configset

2020-09-11 Thread Jörn Franke
I would go for the Solr rest api ... especially if you have a secured zk (eg with Kerberos). Then you need to manage access for humans only in Solr and not also in ZK. > Am 11.09.2020 um 19:41 schrieb Erick Erickson : > > Bin/solr zk upconfig... > Bin/solr zk cp... For individual files. > >

Re: Updating configset

2020-09-11 Thread Erick Erickson
Bin/solr zk upconfig... Bin/solr zk cp... For individual files. Not as convenient as a nice API, but might let you get by... On Fri, Sep 11, 2020, 13:26 Houston Putman wrote: > I completely agree, there should be a way to overwrite an existing > configSet. > > Looks like

Re: Updating configset

2020-09-11 Thread Houston Putman
I completely agree, there should be a way to overwrite an existing configSet. Looks like https://issues.apache.org/jira/browse/SOLR-10391 already exists, so the work could be tracked there. On Fri, Sep 11, 2020 at 12:36 PM Tomás Fernández Löbbe < tomasflo...@gmail.com> wrote: > I was in the

Re: Updating configset

2020-09-11 Thread Tomás Fernández Löbbe
I was in the same situation recently. I think it would be nice to have the configset UPLOAD command be able to override the existing configset instead of just fail (with a parameter such as override=true or something). We need to be careful with the trusted/unstrusted flag there, but that should

Updating configset

2020-09-11 Thread Carroll, Michael (ELS-PHI)
Hello, I am running SolrCloud in Kubernetes with Solr version 8.5.2. Is it possible to update a configset being used by a collection using a SolrCloud API directly? I know that this is possible using the zkcli and a collection RELOAD. We essentially want to be able to checkout our configset