HDFS-8556. Erasure Coding: Fix usage of 'createZone' (Contributed by Vinayakumar B)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5be27725 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5be27725 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5be27725 Branch: refs/heads/HDFS-7285-REBASE Commit: 5be277250f691296b5ad1eea7c37c7535466dd4f Parents: 1db6d60 Author: Vinayakumar B <[email protected]> Authored: Wed Jun 10 10:42:45 2015 +0530 Committer: Vinayakumar B <[email protected]> Committed: Thu Aug 13 17:04:58 2015 +0530 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt | 2 ++ .../java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/5be27725/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt index 61d7a76..2118a0c 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt @@ -289,3 +289,5 @@ HDFS-8460. Erasure Coding: stateful read result doesn't match data occasionally because of flawed test. (Walter Su via zhz) + + HDFS-8556. Erasure Coding: Fix usage of 'createZone' (vinayakumarb) http://git-wip-us.apache.org/repos/asf/hadoop/blob/5be27725/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java index 34965d2..03026d8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java @@ -83,7 +83,7 @@ public abstract class ECCommand extends Command { */ static class CreateECZoneCommand extends ECCommand { public static final String NAME = "createZone"; - public static final String USAGE = "[-s <schemaName>] <path>"; + public static final String USAGE = "[-s <schemaName>] [-c <cellSize>] <path>"; public static final String DESCRIPTION = "Create a zone to encode files using a specified schema\n" + "Options :\n"
