# Changing node settings

**URL:** https://discuss.elastic.co/t/changing-node-settings/13839
**Category:** Elasticsearch
**Created:** [October 3, 2013, 9:40pm UTC](https://discuss.elastic.co/t/changing-node-settings/13839 "2013-10-03T21:40:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [October 3, 2013, 9:40pm UTC](https://discuss.elastic.co/t/changing-node-settings/13839/1 "2013-10-03T21:40:14Z")

</div>

I am currently running some A/B tests on optimizing elasticsearch and it  
would be convenient to update some settings without restarting the nodes.

Currently it is possible to change various settings at the cluster level.  
Is it possible to change the same settings on specific nodes? If not, would  
this behavior be beneficial? If it does not exist, I can create it.

Cheers,

Ivan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)
#### Post date: [October 4, 2013, 2:27pm UTC](https://discuss.elastic.co/t/changing-node-settings/13839/2 "2013-10-04T14:27:17Z")

</div>

Hi Ivan,  
can you elaborate a bit more? what node settings are you referring to for  
instance?

Cheers  
Luca

On Thursday, October 3, 2013 11:40:14 PM UTC+2, Ivan Brusic wrote:

> I am currently running some A/B tests on optimizing elasticsearch and it  
> would be convenient to update some settings without restarting the nodes.
> 
> Currently it is possible to change various settings at the cluster level.  
> Is it possible to change the same settings on specific nodes? If not, would  
> this behavior be beneficial? If it does not exist, I can create it.
> 
> Cheers,
> 
> Ivan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)
#### Post date: [October 4, 2013, 4:04pm UTC](https://discuss.elastic.co/t/changing-node-settings/13839/3 "2013-10-04T16:04:36Z")

</div>

Basically any setting indicated here in the cluster updates, mainly the  
cache settings:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

A ClusterUpdateSettingsRequest is a subclass of MasterNodeOperationRequest  
and not NodesOperationRequest. The latter takes in a list of nodeIds that  
the operation should be executed on. I considered making a new  
UpdateSettingsRequest based on NodesOperationRequest, but from what I can  
tell, the settings are saved in the cluster state. If I inject  
the ClusterService, can I execute commands only on the local node?  
Persistent updates that span restarts are not a concern for me since the  
settings are merely for A/B testing and final changes will be made  
permanent via the config file. The settings are tied to the cluster state  
and I do not think I can break the dependency (from the little of the code  
that I have read).

Cheers,

Ivan

On Fri, Oct 4, 2013 at 7:27 AM, Luca Cavanna [cavannaluca@gmail.com](mailto:cavannaluca@gmail.com) wrote:

> Hi Ivan,  
> can you elaborate a bit more? what node settings are you referring to for  
> instance?
> 
> Cheers  
> Luca
> 
> On Thursday, October 3, 2013 11:40:14 PM UTC+2, Ivan Brusic wrote:
> 
> > I am currently running some A/B tests on optimizing elasticsearch and it  
> > would be convenient to update some settings without restarting the nodes.
> > 
> > Currently it is possible to change various settings at the cluster level.  
> > Is it possible to change the same settings on specific nodes? If not, would  
> > this behavior be beneficial? If it does not exist, I can create it.
> > 
> > Cheers,
> > 
> > Ivan
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 2:13am UTC](https://discuss.elastic.co/t/changing-node-settings/13839/4 "2017-07-06T02:13:45Z")

</div>


