curl -XPUT 'localhost:9200/_all/_settings?pretty' -H 'Content-Type: application/json' -d'
{
"settings": {
"index.unassigned.node_left.delayed_timeout": "5m"
}
}
'
The answer was "No handler found for uri [/_all/settings] and method [PUT]"
this seems to be a typo somewhere? The error message says: "No handler found for uri [/all/settings] and method [PUT]" (note it says settings (without an underscore) but not _settings in the error message). Can you please double-check that you've included the ""?
When I try your statement against an empty Elasticsearch node (version 5.2.1) I get the following response:
{
"error": {
"root_cause": [
{
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_expression",
"resource.id": "_all"
}
],
"type": "index_not_found_exception",
"reason": "no such index",
"resource.type": "index_expression",
"resource.id": "_all"
},
"status": 404
}
If I create an index and then issue the call, it returns fine.
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.