anchor.diff:  ----
   
   NOTE: Be careful when including a paths within the `uri` setting; Some implementations ignore them completely while
  -others consider them. In general, we recommend keeping the `uri` to a minimum and using the `path` element instead.
  -
  -[[repository-hdfs-other-fs]]
  -==== Plugging other file-systems
  -
  -Any HDFS-compatible file-systems (like Amazon `s3://` or Google `gs://`) can be used as long as the proper Hadoop
  -configuration is passed to the Elasticsearch plugin. In practice, this means making sure the correct Hadoop configuration
  -files (`core-site.xml` and `hdfs-site.xml`) and its jars are available in plugin classpath, just as you would with any
  -other Hadoop client or job.
  -
  -Otherwise, the plugin will only read the _default_, vanilla configuration of Hadoop and will not be able to recognized
  -the plugged-in file-system.
  +others consider them. In general, we recommend keeping the `uri` to a minimum and using the `path` element instead.
positive.code: [float]
  ==== Installation
  
  This plugin can be installed using the plugin manager using _one_ of the following packages:
  
  [source,sh]
  ----------------------------------------------------------------
  sudo bin/plugin install repository-hdfs
  sudo bin/plugin install repository-hdfs-hadoop2
  sudo bin/plugin install repository-hdfs-lite
  ----------------------------------------------------------------
  
  The chosen plugin must be installed on every node in the cluster, and each node must
  be restarted after installation.
  
  [[repository-hdfs-remove]]
  [float]
  ==== Removal
  
  The plugin can be removed by specifying the _installed_ package using _one_ of the following commands:
  
  [source,sh]
  ----------------------------------------------------------------
  sudo bin/plugin remove repository-hdfs
  sudo bin/plugin remove repository-hdfs-hadoop2
  sudo bin/plugin remove repository-hdfs-lite
  ----------------------------------------------------------------
  
  The node must be stopped before removing the plugin.
  
negative.code: [[repository-hdfs-usage]]
  ==== Getting started with HDFS
  
  The HDFS snapshot/restore plugin is built against the latest Apache Hadoop 2.x (currently 2.7.1). If the distro you are using is not protocol
  compatible with Apache Hadoop, consider replacing the Hadoop libraries inside the plugin folder with your own (you might have to adjust the security permissions required).
  
  Even if Hadoop is already installed on the Elasticsearch nodes, for security reasons, the required libraries need to be placed under the plugin folder.
  Note that in most cases, if the distro is compatible, one simply needs to configure the repository with the appropriate Hadoop configuration files (see below).
  
  Windows Users::
  Using Apache Hadoop on Windows is problematic and thus it is not recommended. For those _really_ wanting to use it, make sure you place the elusive `winutils.exe` under the
  plugin folder and point `HADOOP_HOME` variable to it; this should minimize the amount of permissions Hadoop requires (though one would still have to add some more).
  
  [[repository-hdfs-config]]
  ==== Configuration Properties
  