# Elasticsearch 5.1 HDFS HA snapshot repository

**URL:** <https://discuss.elastic.co/t/elasticsearch-5-1-hdfs-ha-snapshot-repository/83705>\
**Category:** Elasticsearch\
**Created:** [April 26, 2017, 1:12pm UTC](https://discuss.elastic.co/t/elasticsearch-5-1-hdfs-ha-snapshot-repository/83705 "2017-04-26T13:12:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dheeraj](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Dheeraj](https://discuss.elastic.co/u/Dheeraj)\
**Post date:** [April 26, 2017, 1:12pm UTC](https://discuss.elastic.co/t/elasticsearch-5-1-hdfs-ha-snapshot-repository/83705/1 "2017-04-26T13:12:22Z")

</div>

Using repository-hdfs how can I create a snapshot repository pointing to HDFS cluster running in HA mode ?

Currently the configuration parameter uri only supports a single host ?

i.e Is there a way to use the following HDFS client configuration to set repository location instead of uri:

```
<property>
  <name>fs.defaultFS</name>
  <value>hdfs://mycluster</value>
</property>
```

---

<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:** [May 24, 2017, 1:17pm UTC](https://discuss.elastic.co/t/elasticsearch-5-1-hdfs-ha-snapshot-repository/83705/2 "2017-05-24T13:17:48Z")

</div>

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