# HDFS for Reading and writing elastic index

**URL:** <https://discuss.elastic.co/t/hdfs-for-reading-and-writing-elastic-index/75708>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [February 20, 2017, 10:11am UTC](https://discuss.elastic.co/t/hdfs-for-reading-and-writing-elastic-index/75708 "2017-02-20T10:11:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranjith\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranjith_m/32/19272_2.png) [@Ranjith\_M](https://discuss.elastic.co/u/Ranjith_M)\
**Post date:** [February 20, 2017, 10:11am UTC](https://discuss.elastic.co/t/hdfs-for-reading-and-writing-elastic-index/75708/1 "2017-02-20T10:11:21Z")

</div>

Hi All,

We are working on elasticsearch poc, and we have a scenario where elastic indexes needs to stored with in HDFS(like Apache solr).

What we have explored:

1. We have seen the NFS mount option mentioned in one of the blogs, and as said this is not the recommended option
2. We have seen the snapshots, for taking backup to HDFS(but this is for backup)
3. Explored the option of Hadoop-ES Connector, this looks a good solution but this we can consider if reading and writing to HDFS directly is possible

What we are looking for :

1. Reading and writing indexes directly to HDFS like Apache Solr

Please give your suggestions and please correct if my understanding is incorrect.

Thanks in advance  
Ranjith

---

<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:** [February 20, 2017, 9:23pm UTC](https://discuss.elastic.co/t/hdfs-for-reading-and-writing-elastic-index/75708/2 "2017-02-20T21:23:48Z")

</div>

There is no way to do this and it's not recommended.

---

<div class="post-metadata">

**Author:** ![Ranjith\_M](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranjith_m/32/19272_2.png) [@Ranjith\_M](https://discuss.elastic.co/u/Ranjith_M)\
**Post date:** [February 24, 2017, 10:16am UTC](https://discuss.elastic.co/t/hdfs-for-reading-and-writing-elastic-index/75708/3 "2017-02-24T10:16:21Z")

</div>

Thank you Mark

---

<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:** [March 24, 2017, 10:16am UTC](https://discuss.elastic.co/t/hdfs-for-reading-and-writing-elastic-index/75708/4 "2017-03-24T10:16:39Z")

</div>

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