Maybe because you are looking at _node when you applied it to _cluster, see
if they are returned when you get _cluster/settings.

Cluster settings are applied to the nodes, but they are not "stored' in the
same API endpoint.

On 3 December 2014 at 22:10, Ernesto Reig <[email protected]> wrote:

> Hello,
> I would like to update the settings of all the nodes in our cluster
> without having to restart them. The settings are the following:
> PUT _cluster/settings
> {
>     "persistent" : {
>         "gateway.type": "local",
>         "gateway.recover_after_nodes": 3,
>         "gateway.expected_nodes": 3,
>         "gateway.recover_after_time": "30m",
>         "gateway.local.auto_import_dangled": "no",
>         "gateway.local.dangling_timeout": "30m"
>     }
> }
>
> After executing the precious instruction I get an "aknowledge:true"
> answer, however when I try to get the settings via "get _nodes/settings",
> those settings are not updated at all. Any idea why this happens? Do these
> settings require a restart?
>
> Kind regards,
>
> Ernesto
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/e7221ad8-7041-44cd-b271-063a2b15384e%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/e7221ad8-7041-44cd-b271-063a2b15384e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8a5%3D5hx69KngkuY9aEkbK4i6J-RyEUOsZVaP9GDgmpwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to