ES 5.0
How can I dynamic dynamic setting discovery.zen.ping.unicast.hosts?
curl -XPUT 'http://abcd:9200/_cluster/settings?pretty' -d '{
"transient" : {
"discovery.zen.ping.unicast.hosts" : ["abcd", "bcde", "cdef"]
}
}'
I get the following:
{
"error" : {
"root_cause" : [
{
"type" : "remote_transport_exception",
"reason" : "[es002][bcde:9300][cluster:admin/settings/update]"
}
],
"type" : "illegal_argument_exception",
"reason" : "transient setting [discovery.zen.ping.unicast.hosts.0], not dynamically updateable"
},
"status" : 400
}
https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-update-settings.html