WARNING: Version 2.2 has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Installation
editInstallation
editElasticsearch on YARN binaries can be obtained either by downloading them from the elastic.co site as a ZIP (containing project jars, sources and documentation) or by using any Maven-compatible tool with the following dependency:
<dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-yarn</artifactId> <version>2.2.0</version> </dependency>
The jar above contains Elasticsearch on YARN and does not require any other dependencies at runtime; in other words it can be used as is.
Development Builds
editDevelopment (or nightly or snapshots) builds are published daily at sonatype-oss repository (see below). Make sure to use snapshot versioning:
<dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch-yarn</artifactId> <version>2.2.1.BUILD-SNAPSHOT</version> </dependency>
but also enable the dedicated snapshots repository :