centos6 - How to change path for data storage for elasticsearch -
i have gone elasticsearch.yml , changed "path.data:" path want store data. when start elasticsearch service, localhost:9200 not work anymore. if kept "path.data:" line commented out, localhost:9200 work fine. on centos 6 machine , installed elasticsearch through yum. in advance.
i figured out solution. had created folder using root folder, elasticsearch did not have permissions make changes folder new data stored in. if have issues this, make sure have changed permissions newly created folder.
Comments
Post a Comment