MAPREDUCE-6291. Correct mapred queue usage command. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
89fb0f57ef
commit
27d49e6714
@ -256,6 +256,9 @@ Release 2.8.0 - UNRELEASED
|
||||
|
||||
IMPROVEMENTS
|
||||
|
||||
MAPREDUCE-6291. Correct mapred queue usage command.
|
||||
(Brahma Reddu Battula via harsh)
|
||||
|
||||
MAPREDUCE-579. Streaming "slowmatch" documentation. (harsh)
|
||||
|
||||
MAPREDUCE-6287. Deprecated methods in org.apache.hadoop.examples.Sort
|
||||
|
@ -224,7 +224,7 @@ private void displayQueueAclsInfoForCurrentUser() throws IOException {
|
||||
}
|
||||
|
||||
private void displayUsage(String cmd) {
|
||||
String prefix = "Usage: JobQueueClient ";
|
||||
String prefix = "Usage: queue ";
|
||||
if ("-queueinfo".equals(cmd)) {
|
||||
System.err.println(prefix + "[" + cmd + "<job-queue-name> [-showJobs]]");
|
||||
} else {
|
||||
|
@ -363,7 +363,7 @@ Parser createParser() {
|
||||
void printUsage() {
|
||||
// The CLI package should do this for us, but I can't figure out how
|
||||
// to make it print something reasonable.
|
||||
System.out.println("bin/hadoop pipes");
|
||||
System.out.println("Usage: pipes ");
|
||||
System.out.println(" [-input <path>] // Input directory");
|
||||
System.out.println(" [-output <path>] // Output directory");
|
||||
System.out.println(" [-jar <jar file> // jar filename");
|
||||
|
@ -421,7 +421,7 @@ private String getTaskTypes() {
|
||||
* Display usage of the command-line tool and terminate execution.
|
||||
*/
|
||||
private void displayUsage(String cmd) {
|
||||
String prefix = "Usage: CLI ";
|
||||
String prefix = "Usage: job ";
|
||||
String jobPriorityValues = getJobPriorityNames();
|
||||
String taskStates = "running, completed";
|
||||
|
||||
|
@ -101,7 +101,7 @@ public class HadoopArchives implements Tool {
|
||||
/** the desired replication degree; default is 10 **/
|
||||
short repl = 10;
|
||||
|
||||
private static final String usage = "archive"
|
||||
private static final String usage = "Usage: archive"
|
||||
+ " -archiveName <NAME>.har -p <parent path> [-r <replication factor>]" +
|
||||
"<src>* <dest>" +
|
||||
"\n";
|
||||
|
Loading…
Reference in New Issue
Block a user