hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6389) Fix BaileyBorweinPlouffe CLI usage message
Date Thu, 11 Jun 2015 10:49:02 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581813#comment-14581813
] 

Hudson commented on MAPREDUCE-6389:
-----------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #955 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/955/])
MAPREDUCE-6389. Fix BaileyBorweinPlouffe CLI usage message. Contributed by (devaraj: rev c7729efee8727b59f2c78cd5a3ad23fa84139068)
* hadoop-mapreduce-project/hadoop-mapreduce-examples/src/main/java/org/apache/hadoop/examples/BaileyBorweinPlouffe.java
* hadoop-mapreduce-project/CHANGES.txt


> 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)

Mime
View raw message