From c5d4652dedc1e4f8908117fcfc4872c3efd67b3e Mon Sep 17 00:00:00 2001 From: Vinayakumar B Date: Wed, 10 Jun 2015 10:42:45 +0530 Subject: [PATCH] HDFS-8556. Erasure Coding: Fix usage of 'createZone' (Contributed by Vinayakumar B) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES-HDFS-EC-7285.txt | 2 ++ .../org/apache/hadoop/hdfs/tools/erasurecode/ECCommand.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 61d7a763af..2118a0c419 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) 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 34965d29c7..03026d895e 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 @@ protected void processPath(PathData item) throws IOException { */ static class CreateECZoneCommand extends ECCommand { public static final String NAME = "createZone"; - public static final String USAGE = "[-s ] "; + public static final String USAGE = "[-s ] [-c ] "; public static final String DESCRIPTION = "Create a zone to encode files using a specified schema\n" + "Options :\n"