You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mark Miller <ma...@gmail.com> on 2012/12/06 04:42:13 UTC

Re: Reloading config to zookeeper

Right, solrhome is not required for upconfig, just for the bootstrap cmd.

You can also just upload modified files, but the tool doesn't really
let you do it in a fine grained way. But there are lots of zookeeper
tools you can use to do this if you wanted.

- Mark

On Thu, Nov 22, 2012 at 10:45 AM, Marcin Rzewucki <mr...@gmail.com> wrote:
> I think solrhome is not mandatory.
> Yes, reloading is uploading config dir again. It's a pity we can't update
> just modified files.
> Regards.
>
> On 22 November 2012 19:38, Cool Techi <co...@outlook.com> wrote:
>
>> Thanks, but why do we need to specify the -solrhome?
>>
>> I am using the following command to load new config,
>>
>> java -classpath .:/Users/solr-cli-lib/* org.apache.solr.cloud.ZkCLI -cmd
>> upconfig -zkhost
>> localhost:2181,localhost:2182,localhost:2183,localhost:2184,localhost:2185
>> -confdir /Users/config-files -confname myconf
>>
>> So basically reloading is just uploading the configs back again?
>>
>> Regard,s
>> Ayush
>>
>> > Date: Thu, 22 Nov 2012 19:32:27 +0100
>> > Subject: Re: Reloading config to zookeeper
>> > From: mrzewucki@gmail.com
>> > To: solr-user@lucene.apache.org
>> >
>> > Hi,
>> >
>> > I'm using "cloud-scripts/zkcli.sh" script for reloading configuration,
>> for
>> > example:
>> > $ ./cloud-scripts/zkcli.sh -cmd upconfig -confdir <config.dir> -solrhome
>> > <solr.home> -confname <config.name> -z <zookeeper.host>
>> >
>> > Then I'm reloading collection on each node in cloud, but maybe someone
>> > knows better solution.
>> > Regards.
>> >
>> > On 22 November 2012 19:23, Cool Techi <co...@outlook.com> wrote:
>> >
>> > > When we make changes to our config files, how do we reload the files
>> into
>> > > zookeeper.
>> > >
>> > > Also, I understand that we would need to reload the collection, would
>> we
>> > > need to do this at a per shard level or just at the cloud level.
>> > >
>> > > Regards,
>> > > Ayush
>> > >
>> > >
>>
>>



-- 
- Mark