End of Life
This proof of concept has been superseeded by https://github.com/mesos/elasticsearch.
This Apache Mesos framework allows you to utilize your Mesos cluster to run Elasticsearch.
The framework is composed of a Driver node and a set of slaves.
The driver will do all the heavy lifting like downloading Elasticsearch to the worker nodes, making the cluster configuration available to the slaves via HTTP, and monitoring the instances. It will automatically modify the configuration files to include the known Elasticsearch instances to be used for unicast peer discovery via a template variable.
Proof of Concept
This is currently a proof of concept to show Elasticsearch running natively on Mesos. Don't use it in production! We'd love help from the community to make it production grade.
- An Apache Mesos cluster running version 0.15.0+
Download the distribution from the Mesosphere download server.
Untar it onto the driver machine
tar xzf es-mesos-*.tgz
config/mesos.yamland replace it with your Mesos settings.
config/elasticsearch.yamland replace it with your Elasticsearch settings.
Start the driver to initiate launching Elasticsearch on Mesos
Adjust this if you want the nodes to retrieve the distribution from somewhere else
Change this setting to point to your Mesos Master. The default works for a local Mesos install.
Change this to the path to where the mesos native library is installed.
How many hardware nodes we want to run this cluster on. This prevents multiple nodes from the same cluster to run on a single physical node.
The specified resources will be relayed to Mesos to find suitable machines. The configuration file lists
disk, but really anything you specify will be relayed to Mesos as a scalar value when requesting resources.
bin/build to download all dependencies including Elasticsearch, compile the code and make the distribution.
Currently the driver does not deal with cluster failure in an intelligent manner. These features will be added shortly once we gain some initial feedback.
elasticsearch-mesos uses the version of the embedded Elasticsearch as the first 3 version numbers. The last and 4th version number is the version of elasticsearch-mesos.