HDFS-11978. Remove invalid '-usage' command of 'ec' and add missing commands 'addPolicies' 'listCodecs' in doc. Contributed by wenxin he.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/2b654a49 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/2b654a49 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/2b654a49 Branch: refs/heads/HADOOP-13345 Commit: 2b654a493cb88798bc5572b868ee1ffb411a07cb Parents: dd65eea Author: Wei-Chiu Chuang <[email protected]> Authored: Tue Jun 20 09:36:55 2017 -0700 Committer: Wei-Chiu Chuang <[email protected]> Committed: Tue Jun 20 09:36:55 2017 -0700 ---------------------------------------------------------------------- .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 5 ++++- .../hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/2b654a49/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md ---------------------------------------------------------------------- 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 be0f89e..38bdc40 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -444,7 +444,8 @@ Usage: [-getPolicy -path <path>] [-unsetPolicy -path <path>] [-listPolicies] - [-usage [cmd ...]] + [-addPolicies -policyFile <file>] + [-listCodecs] [-help [cmd ...]] | COMMAND\_OPTION | Description | @@ -453,6 +454,8 @@ Usage: |-getPolicy| Get ErasureCoding policy information about a specified path| |-unsetPolicy| Unset an ErasureCoding policy set by a previous call to "setPolicy" on a directory | |-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. http://git-wip-us.apache.org/repos/asf/hadoop/blob/2b654a49/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md ---------------------------------------------------------------------- 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 dcb56f8..51f54a2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSErasureCoding.md @@ -156,7 +156,6 @@ Deployment [-listPolicies] [-addPolicies -policyFile <file>] [-listCodecs] - [-usage [cmd ...]] [-help [cmd ...]] Below are the details about each command. @@ -187,4 +186,4 @@ Below are the details about each command. * `[-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. \ No newline at end of file + 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. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
