# Hdfs repository ConnectionRefused

**URL:** <https://discuss.elastic.co/t/hdfs-repository-connectionrefused/173750>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [March 25, 2019, 12:50pm UTC](https://discuss.elastic.co/t/hdfs-repository-connectionrefused/173750 "2019-03-25T12:50:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyhong](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@hyhong](https://discuss.elastic.co/u/hyhong)\
**Post date:** [March 25, 2019, 12:50pm UTC](https://discuss.elastic.co/t/hdfs-repository-connectionrefused/173750/1 "2019-03-25T12:50:39Z")

</div>

When I create hdfs repository,throws a exception.As follows:  
 ![QQ%E6%88%AA%E5%9B%BE20190325204952](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1eadf54af4c9b0174f2e467b0ab9ee9dc488af60.png)

---

<div class="post-metadata">

**Author:** ![james.baiera](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james.baiera/32/10209_2.png) [@james.baiera](https://discuss.elastic.co/u/james.baiera)\
**Post date:** [April 5, 2019, 8:39pm UTC](https://discuss.elastic.co/t/hdfs-repository-connectionrefused/173750/2 "2019-04-05T20:39:02Z")

</div>

Are you able to collect any logs from the Elasticsearch node that is accepting the request that might have more information about why the connection was refused? I would double check to make sure that each Elasticsearch node is able to reach the HDFS cluster as the repository is initialized on every node.

---

<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 3, 2019, 8:39pm UTC](https://discuss.elastic.co/t/hdfs-repository-connectionrefused/173750/3 "2019-05-03T20:39:05Z")

</div>

Closed on May 3, 2019, 8:39pm UTC

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