# Snapshots to HDFS

**URL:** <https://discuss.elastic.co/t/snapshots-to-hdfs/26185>\
**Category:** Elasticsearch\
**Created:** [July 23, 2015, 6:49pm UTC](https://discuss.elastic.co/t/snapshots-to-hdfs/26185 "2015-07-23T18:49:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtorre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gtorre/32/3836_2.png) [@gtorre](https://discuss.elastic.co/u/gtorre)\
**Post date:** [July 23, 2015, 6:49pm UTC](https://discuss.elastic.co/t/snapshots-to-hdfs/26185/1 "2015-07-23T18:49:47Z")

</div>

Hello everyone,

I've been trying to install the HDFS plugin to store snapshots in elasticsearch, but I've bumped into some issues. I've tried installing the latest version of the light plugin (elasticsearch-repository-hdfs-2.2.0.BUILD-20150723.024154-30-light.zip) but it doesn't seem to work.

I have a 2 node test cluster. On the elasticsearch nodes, in /etc/sysconfig/elasticsearch I set the ES\_CLASSPATH variable to the output of `hadoop classpath` from the hdfs test cluster. I then set "export ES\_CLASSPATH" in /etc/init.d/elasticsearch on the es test nodes. When I do all of this, I don't see any activity on the hadoop cluster.

However, when I simply install the plugin using `bin/plugin -i elasticsearch/elasticsearch-repository-hdfs/2.1.0` I see some life on the hadoop cluster when I tail the logs:

2015-07-20 16:54:29,085 WARN org.apache.hadoop.ipc.Server: Incorrect header or version mismatch from x.x.x.x:39290 got version 4 expected version 7

I believe I'm doing something wrong, but I can't figure out what. I've tried every plugin version to no avail. Any help would be greatly appreciated.

Thanks,  
Gennaro

---

<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 5, 2017, 11:59pm UTC](https://discuss.elastic.co/t/snapshots-to-hdfs/26185/2 "2017-07-05T23:59:25Z")

</div>


