HDFS-11478. Update EC commands in HDFSCommands.md. Contributed by Yiqun Lin.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/555d0c39 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/555d0c39 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/555d0c39 Branch: refs/heads/YARN-5734 Commit: 555d0c39950078e80a373f188c3b1529995d0af7 Parents: 6f6dfe0 Author: Yiqun Lin <[email protected]> Authored: Thu Mar 2 12:10:24 2017 +0800 Committer: Yiqun Lin <[email protected]> Committed: Thu Mar 2 12:10:24 2017 +0800 ---------------------------------------------------------------------- .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/555d0c39/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 b65cc78..d031dad 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -436,8 +436,9 @@ Runs the diskbalancer CLI. See [HDFS Diskbalancer](./HDFSDiskbalancer.html) for Usage: hdfs ec [generic options] - [-setPolicy [-p <policyName>] <path>] - [-getPolicy <path>] + [-setPolicy -policy <policyName> -path <path>] + [-getPolicy -path <path>] + [-unsetPolicy -path <path>] [-listPolicies] [-usage [cmd ...]] [-help [cmd ...]] @@ -446,6 +447,7 @@ Usage: |:---- |:---- | |-setPolicy| Set a specified ErasureCoding policy to a directory| |-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| Runs the ErasureCoding CLI. See [HDFS ErasureCoding](./HDFSErasureCoding.html#Administrative_commands) for more information on this command. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
