How do I create a no data node using curl? Documentation here says set node.data to false. Is this the right way?
curl -XPUT 'http://localhost:9200/foo' -d '{"node.data" : "false"}'
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You cannot create a no data node using curl. When you can access the node using curl, the node is already running and it’s not possible to convert a running data node to a no-data node.
You can make node a no-data node by adding
node.data: falseto theconfig/elasticsearch.ymlfile and restarting the node.