HDFS-11978. Remove invalid '-usage' command of 'ec' and add missing commands 'addPolicies' 'listCodecs' in doc. Contributed by wenxin he.
This commit is contained in:
parent
dd65eea74b
commit
2b654a493c
@ -444,7 +444,8 @@ Usage:
|
|||||||
[-getPolicy -path <path>]
|
[-getPolicy -path <path>]
|
||||||
[-unsetPolicy -path <path>]
|
[-unsetPolicy -path <path>]
|
||||||
[-listPolicies]
|
[-listPolicies]
|
||||||
[-usage [cmd ...]]
|
[-addPolicies -policyFile <file>]
|
||||||
|
[-listCodecs]
|
||||||
[-help [cmd ...]]
|
[-help [cmd ...]]
|
||||||
|
|
||||||
| COMMAND\_OPTION | Description |
|
| COMMAND\_OPTION | Description |
|
||||||
@ -453,6 +454,8 @@ Usage:
|
|||||||
|-getPolicy| Get ErasureCoding policy information about a specified path|
|
|-getPolicy| Get ErasureCoding policy information about a specified path|
|
||||||
|-unsetPolicy| Unset an ErasureCoding policy set by a previous call to "setPolicy" on a directory |
|
|-unsetPolicy| Unset an ErasureCoding policy set by a previous call to "setPolicy" on a directory |
|
||||||
|-listPolicies| Lists all supported ErasureCoding policies|
|
|-listPolicies| Lists all supported ErasureCoding policies|
|
||||||
|
|-addPolicies| Add a list of erasure coding policies|
|
||||||
|
|-listCodecs| Get the list of supported erasure coding codecs and coders in system|
|
||||||
|
|
||||||
Runs the ErasureCoding CLI. See [HDFS ErasureCoding](./HDFSErasureCoding.html#Administrative_commands) for more information on this command.
|
Runs the ErasureCoding CLI. See [HDFS ErasureCoding](./HDFSErasureCoding.html#Administrative_commands) for more information on this command.
|
||||||
|
|
||||||
|
@ -156,7 +156,6 @@ Deployment
|
|||||||
[-listPolicies]
|
[-listPolicies]
|
||||||
[-addPolicies -policyFile <file>]
|
[-addPolicies -policyFile <file>]
|
||||||
[-listCodecs]
|
[-listCodecs]
|
||||||
[-usage [cmd ...]]
|
|
||||||
[-help [cmd ...]]
|
[-help [cmd ...]]
|
||||||
|
|
||||||
Below are the details about each command.
|
Below are the details about each command.
|
||||||
@ -187,4 +186,4 @@ Below are the details about each command.
|
|||||||
|
|
||||||
* `[-listCodecs]`
|
* `[-listCodecs]`
|
||||||
|
|
||||||
Get the list of supported erasure coding codecs and coders in system. A coder is an implementation of a codec. A codec can have different implementations, thus different coders. The coders for a codec are listed in a fall back order.
|
Get the list of supported erasure coding codecs and coders in system. A coder is an implementation of a codec. A codec can have different implementations, thus different coders. The coders for a codec are listed in a fall back order.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user