---
title: Hadoop HDFS repository plugin
description: The HDFS repository plugin adds support for using HDFS File System as a repository for Snapshot/Restore. This plugin can be installed using the plugin...
url: https://www.elastic.co/docs/reference/elasticsearch/plugins/repository-hdfs
products:
  - Elasticsearch
applies_to:
  - Elastic Cloud Serverless: Unavailable
  - Elastic Stack: Generally available
---

# Hadoop HDFS repository plugin
The HDFS repository plugin adds support for using HDFS File System as a repository for [Snapshot/Restore](https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore).

## Installation

This plugin can be installed using the plugin manager:
```sh
sudo bin/elasticsearch-plugin install repository-hdfs
```

The plugin must be installed on every node in the cluster, and each node must be restarted after installation.
You can download this plugin for [offline install](https://www.elastic.co/docs/reference/elasticsearch/plugins/plugin-management-custom-url) from [[https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.4.2.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.4.2.zip)](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.4.2.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.4.2.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.4.2.zip.asc).

## Removal

The plugin can be removed with the following command:
```sh
sudo bin/elasticsearch-plugin remove repository-hdfs
```

The node must be stopped before removing the plugin.