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