You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cd...@apache.org on 2008/10/18 04:02:46 UTC

svn commit: r705831 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java

Author: cdouglas
Date: Fri Oct 17 19:02:45 2008
New Revision: 705831

URL: http://svn.apache.org/viewvc?rev=705831&view=rev
Log:
HADOOP-4449. Fix dfsadmin usage. Contributed by Raghu Angadi.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=705831&r1=705830&r2=705831&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Oct 17 19:02:45 2008
@@ -956,6 +956,8 @@
     HADOOP-4423. Keep block length when the block recovery is triggered by
     append.  (szetszwo)
 
+    HADOOP-4449. Fix dfsadmin usage. (Raghu Angadi via cdouglas)
+
 Release 0.18.2 - Unreleased
 
   BUG FIXES

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java?rev=705831&r1=705830&r2=705831&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java (original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java Fri Oct 17 19:02:45 2008
@@ -65,7 +65,7 @@
     private static final String NAME = "clrQuota";
     private static final String USAGE = "-"+NAME+" <dirname>...<dirname>";
     private static final String DESCRIPTION = USAGE + ": " +
-    "\tClear the quota for each directory <dirName>.\n" +
+    "Clear the quota for each directory <dirName>.\n" +
     "\t\tBest effort for the directory. with fault reported if\n" +
     "\t\t1. the directory does not exist or is a file, or\n" +
     "\t\t2. user is not an administrator.\n" +
@@ -106,9 +106,9 @@
       "-"+NAME+" <quota> <dirname>...<dirname>";
     private static final String DESCRIPTION = 
       "-setQuota <quota> <dirname>...<dirname>: " +
-      "\tSet the quota <quota> for each directory <dirName>.\n" + 
-      "\t\tThe directory quota is a long integer that puts a hard limit " +
-      "on the number of names in the directory tree\n" +
+      "Set the quota <quota> for each directory <dirName>.\n" + 
+      "\t\tThe directory quota is a long integer that puts a hard limit\n" +
+      "\t\ton the number of names in the directory tree\n" +
       "\t\tBest effort for the directory, with faults reported if\n" +
       "\t\t1. N is not a positive integer, or\n" +
       "\t\t2. user is not an administrator, or\n" +
@@ -151,7 +151,7 @@
     private static final String NAME = "clrSpaceQuota";
     private static final String USAGE = "-"+NAME+" <dirname>...<dirname>";
     private static final String DESCRIPTION = USAGE + ": " +
-    "\tClear the disk space quota for each directory <dirName>.\n" +
+    "Clear the disk space quota for each directory <dirName>.\n" +
     "\t\tBest effort for the directory. with fault reported if\n" +
     "\t\t1. the directory does not exist or is a file, or\n" +
     "\t\t2. user is not an administrator.\n" +
@@ -190,12 +190,12 @@
     private static final String NAME = "setSpaceQuota";
     private static final String USAGE =
       "-"+NAME+" <quota> <dirname>...<dirname>";
-    private static final String DESCRIPTION = USAGE +
-      "\tSet the dik space quota <quota> for each directory <dirName>.\n" + 
-      "\t\tThe directory quota is a long integer that puts a hard limit " +
-      "on the number of names in the directory tree.\n" +
-      "\t\tQuota can also be speciefied with a binary prefix for terabytes, " +
-      " petabytes etc (e.g. 50t is 50TB, 5m is 5MB, 3p is 3PB).\n" + 
+    private static final String DESCRIPTION = USAGE + ": " +
+      "Set the dik space quota <quota> for each directory <dirName>.\n" + 
+      "\t\tThe directory quota is a long integer that puts a hard limit\n" +
+      "\t\ton the number of names in the directory tree.\n" +
+      "\t\tQuota can also be speciefied with a binary prefix for terabytes,\n" +
+      "\t\tpetabytes etc (e.g. 50t is 50TB, 5m is 5MB, 3p is 3PB).\n" + 
       "\t\tBest effort for the directory, with faults reported if\n" +
       "\t\t1. N is not a positive integer, or\n" +
       "\t\t2. user is not an administrator, or\n" +