From 555d0c39950078e80a373f188c3b1529995d0af7 Mon Sep 17 00:00:00 2001 From: Yiqun Lin Date: Thu, 2 Mar 2017 12:10:24 +0800 Subject: [PATCH] HDFS-11478. Update EC commands in HDFSCommands.md. Contributed by Yiqun Lin. --- .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 b65cc788e94..d031dad1236 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 ] ] - [-getPolicy ] + [-setPolicy -policy -path ] + [-getPolicy -path ] + [-unsetPolicy -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.