[ https://issues.apache.org/jira/browse/MAPREDUCE-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Devaraj K updated MAPREDUCE-6389:
---------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Status: Resolved (was: Patch Available)
Thanks [~brahmareddy] for your contribution.
Committed to trunk and branch-2.
> Fix BaileyBorweinPlouffe CLI usage message
> -------------------------------------------
>
> Key: MAPREDUCE-6389
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6389
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Reporter: Brahma Reddy Battula
> Assignee: Brahma Reddy Battula
> Priority: Trivial
> Fix For: 2.8.0
>
> Attachments: MAPREDUCE-6389.patch
>
>
> The usage message from code does not match with the command helpline option.
> *usage from command line*
> {noformat}
> hduser@canberra:~/work/software/cloudera/hadoop-2.0.0-cdh4.0.0$ hadoop jar src/hadoop-mapreduce-project/hadoop-mapreduce-examples/target/hadoop-mapreduce-examples-2.0.0-cdh4.0.0.jar
> An example program must be given as the first argument.
> Valid program names are:
> aggregatewordcount: An Aggregate based map/reduce program that counts the words in
the input files.
> aggregatewordhist: An Aggregate based map/reduce program that computes the histogram
of the words in the input files.
> bbp: A map/reduce program that uses Bailey-Borwein-Plouffe to compute exact digits
of Pi.
> dbcount: An example job that count the pageview counts from a database.
> distbbp: A map/reduce program that uses a BBP-type formula to compute exact bits of
Pi.
> grep: A map/reduce program that counts the matches of a regex in the input.
> {noformat}
> *usage from code*
> {code}
> public int run(String[] args) throws IOException {
> if (args.length != 4) {
> System.err.println("Usage: java " + getClass().getName()
> + " <startDigit> <nDigits> <nMaps> <workingDir>");
> ToolRunner.printGenericCommandUsage(System.err);
> return -1;
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|