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 "Kashyap, Raghu" <Ra...@orbitz.com> on 2008/08/05 23:39:17 UTC

config reload JMX capabilities

One of the requirements we have is that when we deploy new data for solr
config (synonyms, dictionary etc) we should NOT be restarting the solr
instances for the changes to take effect. 

Are there ConfigReload capabilities through JMX that can help us do
this?

Thanks in Advance

 

-Raghu


Re: config reload JMX capabilities

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
I've a few ideas in mind on expanding JMX support but nothing in the
immediate future (for 1.3).

On Wed, Aug 6, 2008 at 9:05 PM, Kashyap, Raghu <Ra...@orbitz.com>wrote:

> Thanks Ryan. For the time being this would probably work for us. However
> is there any plan in the future to expose a JMX MBean to perform this
> operation?
>
> -----Original Message-----
> From: Ryan McKinley [mailto:ryantxu@gmail.com]
> Sent: Wednesday, August 06, 2008 5:45 AM
> To: solr-user@lucene.apache.org
> Subject: Re: config reload JMX capabilities
>
> I don't know about JMX, but check the standard multi-core config...
>
> If you are running things in multi-core mode, you can send a RELOAD
> command:
> http://wiki.apache.org/solr/MultiCore#head-429a06cb83e1ce7b06857fd03c38d
> 1200c4bcfc1<http://wiki.apache.org/solr/MultiCore#head-429a06cb83e1ce7b06857fd03c38d1200c4bcfc1>
>
>
> On Aug 5, 2008, at 2:39 PM, Kashyap, Raghu wrote:
>
> > One of the requirements we have is that when we deploy new data for
> > solr
> > config (synonyms, dictionary etc) we should NOT be restarting the solr
> > instances for the changes to take effect.
> >
> > Are there ConfigReload capabilities through JMX that can help us do
> > this?
> >
> > Thanks in Advance
> >
> >
> >
> > -Raghu
> >
>
>


-- 
Regards,
Shalin Shekhar Mangar.

RE: config reload JMX capabilities

Posted by "Kashyap, Raghu" <Ra...@orbitz.com>.
Thanks Ryan. For the time being this would probably work for us. However
is there any plan in the future to expose a JMX MBean to perform this
operation?

-----Original Message-----
From: Ryan McKinley [mailto:ryantxu@gmail.com] 
Sent: Wednesday, August 06, 2008 5:45 AM
To: solr-user@lucene.apache.org
Subject: Re: config reload JMX capabilities

I don't know about JMX, but check the standard multi-core config...

If you are running things in multi-core mode, you can send a RELOAD  
command:
http://wiki.apache.org/solr/MultiCore#head-429a06cb83e1ce7b06857fd03c38d
1200c4bcfc1


On Aug 5, 2008, at 2:39 PM, Kashyap, Raghu wrote:

> One of the requirements we have is that when we deploy new data for  
> solr
> config (synonyms, dictionary etc) we should NOT be restarting the solr
> instances for the changes to take effect.
>
> Are there ConfigReload capabilities through JMX that can help us do
> this?
>
> Thanks in Advance
>
>
>
> -Raghu
>


Re: config reload JMX capabilities

Posted by Ryan McKinley <ry...@gmail.com>.
I don't know about JMX, but check the standard multi-core config...

If you are running things in multi-core mode, you can send a RELOAD  
command:
http://wiki.apache.org/solr/MultiCore#head-429a06cb83e1ce7b06857fd03c38d1200c4bcfc1


On Aug 5, 2008, at 2:39 PM, Kashyap, Raghu wrote:

> One of the requirements we have is that when we deploy new data for  
> solr
> config (synonyms, dictionary etc) we should NOT be restarting the solr
> instances for the changes to take effect.
>
> Are there ConfigReload capabilities through JMX that can help us do
> this?
>
> Thanks in Advance
>
>
>
> -Raghu
>


RE: config reload JMX capabilities

Posted by "Kashyap, Raghu" <Ra...@orbitz.com>.
Thanks Shalin.

I am watching the JIRA since that is something we are very interested in
(Replication through JMX).

-Raghu

-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinmangar@gmail.com] 
Sent: Tuesday, August 05, 2008 11:59 PM
To: solr-user@lucene.apache.org
Subject: Re: config reload JMX capabilities

On Wed, Aug 6, 2008 at 3:09 AM, Kashyap, Raghu
<Ra...@orbitz.com>wrote:

>
> Are there ConfigReload capabilities through JMX that can help us do
> this?
>

No, only statistics are exposed through JMX at present.

SOLR-561 enables support for automatic config file replication to slaves
without downtime. However, a lot of work is left in that.

https://issues.apache.org/jira/browse/SOLR-561

-- 
Regards,
Shalin Shekhar Mangar.

Re: config reload JMX capabilities

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Wed, Aug 6, 2008 at 3:09 AM, Kashyap, Raghu <Ra...@orbitz.com>wrote:

>
> Are there ConfigReload capabilities through JMX that can help us do
> this?
>

No, only statistics are exposed through JMX at present.

SOLR-561 enables support for automatic config file replication to slaves
without downtime. However, a lot of work is left in that.

https://issues.apache.org/jira/browse/SOLR-561

-- 
Regards,
Shalin Shekhar Mangar.