I am trying to run Elasticsearch 2.1.1 in my Linux machine which I am the root user of it.
When I tried to execute the Elasticsearch.I am getting the following error
Based of the following code-snippet looks like you should be able to achieve this by enabling property es.insecure.allow.root
Example :
bin/elasticsearch -Des.insecure.allow.root=true