elasticsearch-mesos
elasticsearch-mesos copied to clipboard
how is the underlying storage derived for elasticsearch on mesos
hi,
how is that elasticsearch can run on top of mesos in a distributed environment? how will the index data get distributed across? will the storage on be a distributed filesystem? is there a wiki that could go through all the nitty gritty stuff?
thanks.
You have to specify all the directories for ES and other config params in elasticsearch-mesos/config/elasticsearch.yml
.
When you start elasticsearch framework, mesos slaves take the config and start ES as usual. And each ES instance use local directories specified in the config.
How can I guarantee that my instances will run on the same node as they used to, if they die? What happens if I lose one of the nodes?
Currently, I shard and replicate the index to serve them from the next available healthy node. Another option could be a glusterFS / NFS mount points.