# Plugin \[repository-hdfs\] is incompatible with Elasticsearch \[2.1.1\]. Was designed for version \[2.2.0-SNAPSHOT\]

**URL:** <https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [January 22, 2016, 5:43am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846 "2016-01-22T05:43:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tdk93](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tdk93/32/7327_2.png) [@tdk93](https://discuss.elastic.co/u/tdk93)\
**Post date:** [January 22, 2016, 5:43am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/1 "2016-01-22T05:43:50Z")

</div>

I'm trying to integrate HDFS with Elastic Search to use it as the repository for snapshots. You can find the documentation [here](https://github.com/elastic/elasticsearch-hadoop/tree/master/repository-hdfs).  
Hadoop is already installed and running on my system so I'm using the light version. I'm installing the plugin offline after downloading it's zip from [here](https://oss.sonatype.org/content/repositories/snapshots/org/elasticsearch/elasticsearch-repository-hdfs/2.2.0.BUILD-SNAPSHOT/).  
When I try installing using the command

> bin/plugin install file:/filepath

I get the following error:

> ERROR: Plugin [repository-hdfs] is incompatible with Elasticsearch [2.1.1]. Was designed for version [2.2.0-SNAPSHOT].

Can someone tell what's going wrong?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 22, 2016, 6:03am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/2 "2016-01-22T06:03:26Z")

</div>

As it says, you have the wrong version.  
You probably want `bin/plugin install elasticsearch/elasticsearch-repository-hdfs/2.1.0`.

---

<div class="post-metadata">

**Author:** ![tdk93](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tdk93/32/7327_2.png) [@tdk93](https://discuss.elastic.co/u/tdk93)\
**Post date:** [January 22, 2016, 6:20am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/3 "2016-01-22T06:20:56Z")

</div>

> [@warkolm](#):
>
> 2.1.0.

When I use 2.1.1, it complains that "could not find plugin descriptor 'plugin-descriptor.properties' file in plugin zip"

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 22, 2016, 6:22am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/4 "2016-01-22T06:22:00Z")

</div>

Typo.  
Did you try replacing the 0 with a 1?

---

<div class="post-metadata">

**Author:** ![tdk93](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tdk93/32/7327_2.png) [@tdk93](https://discuss.elastic.co/u/tdk93)\
**Post date:** [January 22, 2016, 6:27am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/5 "2016-01-22T06:27:21Z")

</div>

Yeah, I tried the version 2.1.0 as well as 2.1.1. Both of them give the same error, that is could not find plugin descriptor in 'plugin-descriptor.properties' file in plugin zip"

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [January 22, 2016, 8:29am UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/6 "2016-01-22T08:29:37Z")

</div>

You don't specify what version you are using - I assume that's ES 2.1.1

For ES 2.0.0, try plugin version 2.2.0-beta1  
For ES 2.1.0, try plugin version 2.2.0-rc1

The latest snapshot version works as well.  
However since ES now does a strict check against a plugin, as @warkolm mentioned, sometimes you need to adjust the version inside the plugin with your target ES.  
So you can take the latest plugin or 2.2.0-rc1 above, look into the zip, modify the plugin-descriptor.properties (in particular the ES version) and install it again.

---

<div class="post-metadata">

**Author:** ![tdk93](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tdk93/32/7327_2.png) [@tdk93](https://discuss.elastic.co/u/tdk93)\
**Post date:** [January 22, 2016, 1:09pm UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/7 "2016-01-22T13:09:02Z")

</div>

Thanks Costin. That solved the problem.

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [January 24, 2016, 7:31pm UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/8 "2016-01-24T19:31:26Z")

</div>

Glad to hear.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:26pm UTC](https://discuss.elastic.co/t/plugin-repository-hdfs-is-incompatible-with-elasticsearch-2-1-1-was-designed-for-version-2-2-0-snapshot/39846/9 "2017-07-06T13:26:21Z")

</div>


