org.elasticsearch.bootstrap.startupexception: java.lang.illegalstateexception: failed to obtain node locks

org.elasticsearch.bootstrap.startupexception: java.lang.illegalstateexception: failed to obtain node locks

No permission, you need to change the owner of file system files, directories.

refer t‮l:o‬autturi.com
sudo chown 1000:1000 /data/elasticsearch/ 
or 
sudo chown elasticsearch:elasticsearch /data/elasticsearch/
Created Time:2017-08-29 19:25:10  Author:lautturi