Browse Source

HDFS-8556. Erasure Coding: Fix usage of 'createZone' (Contributed by Vinayakumar B)

Vinayakumar B 10 years ago
parent
commit
c5d4652ded

+ 2 - 0
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 
     HDFS-8460. Erasure Coding: stateful read result doesn't match data 
     occasionally because of flawed test. (Walter Su via zhz)
     occasionally because of flawed test. (Walter Su via zhz)
+
+    HDFS-8556. Erasure Coding: Fix usage of 'createZone' (vinayakumarb)

+ 1 - 1
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 {
   static class CreateECZoneCommand extends ECCommand {
     public static final String NAME = "createZone";
     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 = 
     public static final String DESCRIPTION = 
         "Create a zone to encode files using a specified schema\n"
         "Create a zone to encode files using a specified schema\n"
         + "Options :\n"
         + "Options :\n"