Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shairontoledo
Created September 11, 2012 22:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shairontoledo/583bc1cbc053baedeff4 to your computer and use it in GitHub Desktop.
Save shairontoledo/583bc1cbc053baedeff4 to your computer and use it in GitHub Desktop.
Trying reset ES cluster settings
## Request ERROR
curl -XPUT localhost:9200/_cluster/settings?pretty -d '
{
"persistent" : {},
"transient" : {}
}'
curl -XPUT localhost:9200/_cluster/settings?pretty -d '
{
"persistent" : null,
"transient" : null
}'
curl -XPUT localhost:9200/_cluster/settings?pretty -d '
{
"persistent" : {
"cluster.routing.allocation.include._ip" : null,
"cluster.routing.allocation.exclude._ip" : null
}
}'
## Parsing error
curl -XPUT localhost:9200/_cluster/settings?pretty -d '
{
"persistent" : {
"cluster.routing.allocation.include._ip" : "",
"cluster.routing.allocation.exclude._ip" : ""
}
}'
@PavelPolyakov
Copy link

Any update on this?

Have you find the way to overcome this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment