From 620809b9a063bd6ea84d582166eed3fb957dcd0a Mon Sep 17 00:00:00 2001 From: Haohui Mai Date: Thu, 3 Apr 2014 20:18:49 +0000 Subject: [PATCH] HDFS-6190. Minor textual fixes in DFSClient. Contributed by Charles Lamb. git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1584376 13f79535-47bb-0310-9956-ffa450edef68 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 73b4ff5751..1455bf430d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -305,6 +305,8 @@ Release 2.5.0 - UNRELEASED HDFS-5591. Checkpointing should use monotonic time when calculating period. (Charles Lamb via wang) + HDFS-6190. Minor textual fixes in DFSClient. (Charles Lamb via wheat9) + Release 2.4.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java index b260277b15..aaba9a98e6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java @@ -236,7 +236,7 @@ private static class SetSpaceQuotaCommand extends DFSAdminCommand { "\t\ton the total size of all the files under the directory tree.\n" + "\t\tThe extra space required for replication is also counted. E.g.\n" + "\t\ta 1GB file with replication of 3 consumes 3GB of the quota.\n\n" + - "\t\tQuota can also be speciefied with a binary prefix for terabytes,\n" + + "\t\tQuota can also be specified with a binary prefix for terabytes,\n" + "\t\tpetabytes etc (e.g. 50t is 50TB, 5m is 5MB, 3p is 3PB).\n" + "\t\tFor each directory, attempt to set the quota. An error will be reported if\n" + "\t\t1. N is not a positive integer, or\n" + @@ -637,7 +637,7 @@ public Void run() throws Exception { } private void printHelp(String cmd) { - String summary = "hadoop dfsadmin is the command to execute DFS administrative commands.\n" + + String summary = "hadoop dfsadmin performs DFS administrative commands.\n" + "The full syntax is: \n\n" + "hadoop dfsadmin [-report] [-safemode ]\n" + "\t[-saveNamespace]\n" +