# Store Elasticsearch 2.4.1 snapshots to HDFS

**URL:** <https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [November 14, 2016, 12:19pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972 "2016-11-14T12:19:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ant/32/33267_2.png) [@Ant](https://discuss.elastic.co/u/Ant)\
**Post date:** [November 14, 2016, 12:19pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/1 "2016-11-14T12:19:37Z")

</div>

Hi,

So I've found my definition of definitive and the [elastic.io](http://elastic.io) guides definition to be slightly divergent. As such I wondered if anyone here could help me get my backups sorted out?

Origionally I tried to get it to backup to a NAS using a Network File Share however every time I tried to run the backups I it stalled and I got Java blocked errors coming up on screen. Not to worry I thought there is an option to backup to HDFS here and that's a more logical & salable place to put it anyway! The definitive guide was a bit light on how to for this though.

After some searching I found I could install the necessary plugin with the following command  
bin/plugin install elasticsearch/elasticsearch-repository-hdfs/2.2.0-hadoop2

When I tried to run this though I got an alert telling me

"ERROR: Plugin [repository-hdfs] is incompatible with Elasticsearch [2.4.1]. Was designed for version [2.2.0]"

seeing 2.2.0 in both the error and the command I executed I thought I saw a fix but there is no version 2.4.1-hadoop2 available so I'm now at a bit of a loss on how to go forward.

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Ant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ant/32/33267_2.png) [@Ant](https://discuss.elastic.co/u/Ant)\
**Post date:** [November 14, 2016, 4:05pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/2 "2016-11-14T16:05:21Z")

</div>

`bin/plugin install elasticsearch/elasticsearch-repository-hdfs/2.4.0-hadoop2`  
does return a file but it reports that it was designed for 2.4.0 and won't work with 2.4.1, looking here

> **[elastic/elasticsearch-hadoop](https://github.com/elastic/elasticsearch-hadoop/tree/2.4/repository-hdfs)**
>
> elasticsearch-hadoop - :elephant: Elasticsearch real-time search and analytics natively integrated with Hadoop

I get the impression a release has yet to be done for 2.4.1 and with 5.0 being the new focus there may never be one?

---

<div class="post-metadata">

**Author:** ![james.baiera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james.baiera/32/10209_2.png) [@james.baiera](https://discuss.elastic.co/u/james.baiera)\
**Post date:** [November 14, 2016, 10:00pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/3 "2016-11-14T22:00:03Z")

</div>

@Ant There was no release for 2.4.1 because there were no changes in the 2.x branch to be released at the time. It shouldn't be a problem to cut a 2.4.1 release to remove those warnings. I'll spin one out soon.

---

<div class="post-metadata">

**Author:** ![Ant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ant/32/33267_2.png) [@Ant](https://discuss.elastic.co/u/Ant)\
**Post date:** [November 15, 2016, 2:57am UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/4 "2016-11-15T02:57:02Z")

</div>

@james.baiera you sir are a legend.

---

<div class="post-metadata">

**Author:** ![james.baiera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james.baiera/32/10209_2.png) [@james.baiera](https://discuss.elastic.co/u/james.baiera)\
**Post date:** [November 22, 2016, 6:39pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/5 "2016-11-22T18:39:10Z")

</div>

@Ant ES-Hadoop 2.4.1 is now available, alongside ES-Hadoop 2.4.2.

---

<div class="post-metadata">

**Author:** ![Ant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ant/32/33267_2.png) [@Ant](https://discuss.elastic.co/u/Ant)\
**Post date:** [November 24, 2016, 9:28pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/6 "2016-11-24T21:28:33Z")

</div>

@james.baiera worked a treat thanks!  
backed up on my 2.4.1 box and then rolled out a new 2.4.2 box and it all restored a treat!

---

<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:** [December 22, 2016, 9:28pm UTC](https://discuss.elastic.co/t/store-elasticsearch-2-4-1-snapshots-to-hdfs/65972/7 "2016-12-22T21:28:44Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
