# Repository verification exception when creating HDFS Repository

**URL:** <https://discuss.elastic.co/t/repository-verification-exception-when-creating-hdfs-repository/175757>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [April 8, 2019, 5:20am UTC](https://discuss.elastic.co/t/repository-verification-exception-when-creating-hdfs-repository/175757 "2019-04-08T05:20:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [April 8, 2019, 5:20am UTC](https://discuss.elastic.co/t/repository-verification-exception-when-creating-hdfs-repository/175757/1 "2019-04-08T05:20:05Z")

</div>

Hi,  
I couldn't able to create the HDFS repository on my elasticsearch cluster. Here is the request and response:

Could someone please help me how do I resolve this issue. Thanks !

```auto
PUT _snapshot/my_staging_hdfs
{
  "type": "hdfs",
  "settings": {
    "uri": "hdfs://173.20.158.196:9000",
    "path": "elasticsearch/repositories/my_staging_hdfs",
    "conf.dfs.client.read.shortcircuit": "true",
    "conf.dfs.domain.socket.path": "true",
    "compress": true
  }
}

```

Response:

```auto
{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[my_staging_hdfs] [[2NDinVP7TYitBlXUdN8GkQ, 'RemoteTransportException[[node-1][173.20.159.94:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_staging_hdfs] a file written by master to the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] cannot be accessed on the node [{node-1}{2NDinVP7TYitBlXUdN8GkQ}{DzjkHnVvR5OBPautd-z8Yw}{173.20.159.94}{173.20.159.94:9300}]. This might indicate that the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[my_staging_hdfs] [[2NDinVP7TYitBlXUdN8GkQ, 'RemoteTransportException[[node-1][173.20.159.94:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_staging_hdfs] a file written by master to the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] cannot be accessed on the node [{node-1}{2NDinVP7TYitBlXUdN8GkQ}{DzjkHnVvR5OBPautd-z8Yw}{173.20.159.94}{173.20.159.94:9300}]. This might indicate that the store [hdfs://173.20.158.196:9000/user/Admin-002$/elasticsearch/repositories/my_staging_hdfs] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"
  },
  "status": 500
}

```

---

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [April 9, 2019, 9:00am UTC](https://discuss.elastic.co/t/repository-verification-exception-when-creating-hdfs-repository/175757/2 "2019-04-09T09:00:12Z")

</div>

@all - Did anyone else in the forum came across this issue ? Please let us know. Thanks !

---

<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 7, 2019, 9:00am UTC](https://discuss.elastic.co/t/repository-verification-exception-when-creating-hdfs-repository/175757/3 "2019-05-07T09:00:16Z")

</div>

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