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.
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.
Basically any setting indicated here in the cluster updates, mainly the
cache settings:
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).
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.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.