Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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

sudo chown 1000:1000 <directory you wish to mount>
# With docker
sudo chown 1000:1000 /data/elasticsearch/ 
OR
# With VM
sudo chown elasticsearch:elasticsearch /data/elasticsearch/

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #failed #obtain #node
ADD COMMENT
Topic
Name
5+3 =