$ curl -XPUT 'localhost:9200/_cluster/settings?pretty=true' -d '{
"transient" : {
"cluster.routing.allocation.enable" : "none"
}
}'
kill -9 PID
$ curl -XPUT 'localhost:9200/_cluster/settings?pretty=true' -d '{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}'