﻿---
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/elastic/docs-builder/docs/2626/reference/elasticsearch/plugins/repository-hdfs
products:
  - Elasticsearch
applies_to:
  - Elastic Cloud Serverless: Unavailable
  - Elastic Stack: Generally available in 9.0+
---

# Hadoop HDFS repository plugin
The HDFS repository plugin adds support for using HDFS File System as a repository for [Snapshot/Restore](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2626/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/elastic/docs-builder/docs/2626/reference/elasticsearch/plugins/plugin-management-custom-url) from [[https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.3.0.zip](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.3.0.zip)](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.3.0.zip). To verify the `.zip` file, use the [SHA hash](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.3.0.zip.sha512) or [ASC key](https://artifacts.elastic.co/downloads/elasticsearch-plugins/repository-hdfs/repository-hdfs-9.3.0.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.