Repository: hadoop Updated Branches: refs/heads/HDFS-7285 e299fe86b -> c5d4652de
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/c5d4652d Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c5d4652d Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c5d4652d Branch: refs/heads/HDFS-7285 Commit: c5d4652dedc1e4f8908117fcfc4872c3efd67b3e Parents: e299fe8 Author: Vinayakumar B <vinayakum...@apache.org> Authored: Wed Jun 10 10:42:45 2015 +0530 Committer: Vinayakumar B <vinayakum...@apache.org> Committed: Wed Jun 10 10:42:45 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/c5d4652d/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/c5d4652d/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"