# ElasticSearch Snapshot using HDFS

**URL:** <https://discuss.elastic.co/t/elasticsearch-snapshot-using-hdfs/359908>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [May 21, 2024, 10:09am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-using-hdfs/359908 "2024-05-21T10:09:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saivenkatg5](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@saivenkatg5](https://discuss.elastic.co/u/saivenkatg5)\
**Post date:** [May 21, 2024, 10:09am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-using-hdfs/359908/1 "2024-05-21T10:09:52Z")

</div>

Hey team,

I was trying to take a snapshost of ES indices and store it in the HDFS files system, but when I give HDFS HA config, it is not able to initiate a config, whereas if we give Active NN hostname, it is working, and I was able to create a repository. Can someone check and tell if anything is wrong with the configuration?

{  
"settings.conf.dfs.client.failover.proxy.provider.test": "org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider",  
"settings.conf.dfs.ha.automatic-failover.enabled.test": true,  
"settings.conf.dfs.ha.namenodes.test": "nn1,nn2",  
"settings.conf.dfs.namenode.rpc-address.test.nn1": "server1:8020",  
"settings.conf.dfs.namenode.rpc-address.test.nn2": "server2:8020",  
"settings.conf.dfs.nameservices": "test",  
"settings.conf.fs.hdfs.impl": "org.apache.hadoop.hdfs.DistributedFileSystem",  
"type": "hdfs"  
}

ERROR:

rg.elasticsearch.repositories.RepositoryVerificationException: [test\_rep] path is not accessible on master node  
Caused by: org.elasticsearch.repositories.RepositoryException: [test\_rep] cannot create blob store

---

<div class="post-metadata">

**Author:** ![saivenkatg5](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@saivenkatg5](https://discuss.elastic.co/u/saivenkatg5)\
**Post date:** [May 21, 2024, 10:10am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-using-hdfs/359908/2 "2024-05-21T10:10:59Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06076cf649c505a2cc7963bfb7a8023d58219896.png)
