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:03:40 UTC
svn commit: r705832 - in /hadoop/core/branches/branch-0.19: CHANGES.txt
src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java
Author: cdouglas
Date: Fri Oct 17 19:03:40 2008
New Revision: 705832
URL: http://svn.apache.org/viewvc?rev=705832&view=rev
Log:
HADOOP-4449. Fix dfsadmin usage. Contributed by Raghu Angadi.
Modified:
hadoop/core/branches/branch-0.19/CHANGES.txt
hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java
Modified: hadoop/core/branches/branch-0.19/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/CHANGES.txt?rev=705832&r1=705831&r2=705832&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/CHANGES.txt (original)
+++ hadoop/core/branches/branch-0.19/CHANGES.txt Fri Oct 17 19:03:40 2008
@@ -900,6 +900,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/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java
URL: http://svn.apache.org/viewvc/hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java?rev=705832&r1=705831&r2=705832&view=diff
==============================================================================
--- hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java (original)
+++ hadoop/core/branches/branch-0.19/src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java Fri Oct 17 19:03:40 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" +