HDFS-69. Improve the 'dfsadmin' commandline help. (harsh)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1230398 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
74697f2317
commit
dcea80a21b
@ -259,6 +259,8 @@ Release 0.23.1 - UNRELEASED
|
|||||||
|
|
||||||
HDFS-1314. Make dfs.blocksize accept size-indicating prefixes (Sho Shimauchi via harsh)
|
HDFS-1314. Make dfs.blocksize accept size-indicating prefixes (Sho Shimauchi via harsh)
|
||||||
|
|
||||||
|
HDFS-69. Improve the 'dfsadmin' commandline help. (harsh)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-2130. Switch default checksum to CRC32C. (todd)
|
HDFS-2130. Switch default checksum to CRC32C. (todd)
|
||||||
|
@ -131,8 +131,9 @@ private static class SetQuotaCommand extends DFSAdminCommand {
|
|||||||
"\t\ton the number of names in the directory tree\n" +
|
"\t\ton the number of names in the directory tree\n" +
|
||||||
"\t\tFor each directory, attempt to set the quota. An error will be reported if\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" +
|
"\t\t1. N is not a positive integer, or\n" +
|
||||||
"\t\t2. user is not an administrator, or\n" +
|
"\t\t2. User is not an administrator, or\n" +
|
||||||
"\t\t3. the directory does not exist or is a file, or\n";
|
"\t\t3. The directory does not exist or is a file.\n" +
|
||||||
|
"\t\tNote: A quota of 1 would force the directory to remain empty.\n";
|
||||||
|
|
||||||
private final long quota; // the quota to be set
|
private final long quota; // the quota to be set
|
||||||
|
|
||||||
@ -917,6 +918,7 @@ private static void printUsage(String cmd) {
|
|||||||
+ " [-setBalancerBandwidth <bandwidth in bytes per second>]");
|
+ " [-setBalancerBandwidth <bandwidth in bytes per second>]");
|
||||||
} else {
|
} else {
|
||||||
System.err.println("Usage: java DFSAdmin");
|
System.err.println("Usage: java DFSAdmin");
|
||||||
|
System.err.println("Note: Administrative commands can only be run as the HDFS superuser.");
|
||||||
System.err.println(" [-report]");
|
System.err.println(" [-report]");
|
||||||
System.err.println(" [-safemode enter | leave | get | wait]");
|
System.err.println(" [-safemode enter | leave | get | wait]");
|
||||||
System.err.println(" [-saveNamespace]");
|
System.err.println(" [-saveNamespace]");
|
||||||
|
Loading…
Reference in New Issue
Block a user