diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md index 9f9fba5d2f..e923b86d0f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -463,7 +463,7 @@ Runs the diskbalancer CLI. See [HDFS Diskbalancer](./HDFSDiskbalancer.html) for Usage: hdfs erasurecode [generic options] - [-setPolicy [-s ] ] + [-setPolicy [-p ] ] [-getPolicy ] [-listPolicies] [-usage [cmd ...]] diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md index 76c1b3af17..18b3a25981 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md @@ -125,7 +125,7 @@ Below are the details about each command. `path`: An directory in HDFS. This is a mandatory parameter. Setting a policy only affects newly created files, and does not affect existing files. - `policyName`: The ErasureCoding policy to be used for files under this directory. This is an optional parameter, specified using ā€˜-sā€™ flag. If no policy is specified, the system default ErasureCodingPolicy will be used. + `policyName`: The ErasureCoding policy to be used for files under this directory. This is an optional parameter, specified using ā€˜-pā€™ flag. If no policy is specified, the system default ErasureCodingPolicy will be used. * `[-getPolicy ]`