# Unsupported/Unknown Elasticsearch version 2.1.1

**URL:** https://discuss.elastic.co/t/unsupported-unknown-elasticsearch-version-2-1-1/40246
**Category:** Elasticsearch
**Tags:** es-hadoop
**Created:** [January 27, 2016, 2:35pm UTC](https://discuss.elastic.co/t/unsupported-unknown-elasticsearch-version-2-1-1/40246 "2016-01-27T14:35:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ni4ni](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@ni4ni](https://discuss.elastic.co/u/ni4ni)
#### Post date: [January 27, 2016, 2:35pm UTC](https://discuss.elastic.co/t/unsupported-unknown-elasticsearch-version-2-1-1/40246/1 "2016-01-27T14:35:15Z")

</div>

Hello

I am trying to integrate ElsticSearch with Hive for the first time (a plain Apache Hadoop).  
I am able to create an external table in Hive stored by org.elasticsearch.hadoop.hive.EsStorageHandler so I guess the AUX\_JAR\_PATH is properly configured.  
However, when I try to load data into the table I get exceptions.

The full error stack is not that interesting, but the error says:  
org.elasticsearch.hadoop.EsHadoopIllegalArgumentException(Unsupported/Unknown Elasticsearch version 2.1.1)

My Elasticsearch version is 2.1.1 and the ES-Hadoop integration jar is 2.1.2 (both are latest stable version).

What am I doing wrong ? How can I make it work ?

Thanks

Guy

---

<div class="post-metadata">

### Author: ![cjuste](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjuste/32/7363_2.png) [@cjuste](https://discuss.elastic.co/u/cjuste)
#### Post date: [January 27, 2016, 3:02pm UTC](https://discuss.elastic.co/t/unsupported-unknown-elasticsearch-version-2-1-1/40246/2 "2016-01-27T15:02:01Z")

</div>

Hello,

It's simply because ES-Hadoop v2.1.2 only supports ES until v1.7.x  
You need to use ES-Hadoop v2.2.0-rc1.

---

<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 27, 2016, 3:10pm UTC](https://discuss.elastic.co/t/unsupported-unknown-elasticsearch-version-2-1-1/40246/3 "2016-01-27T15:10:31Z")

</div>

From the project [readme](https://github.com/elastic/elasticsearch-hadoop):

> Elasticsearch (1.x or higher (2.x highly recommended)) cluster accessible through REST.  
> That's it!  
> Significant effort has been invested to create a small, dependency-free,  
> self-contained jar that can be downloaded and put to use without any  
> dependencies. Simply make it available to your job classpath and you're  
> set.  
> For a certain library, see the dedicated chapter.

> ES-Hadoop 2.0.x and 2.1.x are compatible with Elasticsearch 1.X only

ES-Hadoop 2.2.x and higher are compatible with Elasticsearch 1.X and 2.X

---

<div class="post-metadata">

### Author: ![ni4ni](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@ni4ni](https://discuss.elastic.co/u/ni4ni)
#### Post date: [January 28, 2016, 8:07am UTC](https://discuss.elastic.co/t/unsupported-unknown-elasticsearch-version-2-1-1/40246/4 "2016-01-28T08:07:46Z")

</div>

Thank you very much, I missed that point...

---

<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/unsupported-unknown-elasticsearch-version-2-1-1/40246/5 "2017-07-06T13:26:20Z")

</div>


