Changing node settings


(Ivan Brusic) #1

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.
For more options, visit https://groups.google.com/groups/opt_out.


(Luca Cavanna) #2

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.
For more options, visit https://groups.google.com/groups/opt_out.


(Ivan Brusic) #3

Basically any setting indicated here in the cluster updates, mainly the
cache settings:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-update-settings.html

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 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.
For more options, visit 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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4