HDFS-10907. Fix Erasure Coding documentation. Contributed by Manoj Govindassamy.

This commit is contained in:
Wei-Chiu Chuang 2016-09-30 12:51:27 -07:00
parent ee33a02234
commit 7fad1221d6
2 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@ Runs the diskbalancer CLI. See [HDFS Diskbalancer](./HDFSDiskbalancer.html) for
Usage:
hdfs erasurecode [generic options]
[-setPolicy [-s <policyName>] <path>]
[-setPolicy [-p <policyName>] <path>]
[-getPolicy <path>]
[-listPolicies]
[-usage [cmd ...]]

View File

@ -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 <path>]`