hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8834) Hadoop examples when run without an argument, gives ERROR instead of just usage info
Date Fri, 01 Mar 2013 15:29:15 GMT

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

Hadoop QA commented on HADOOP-8834:
-----------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12571589/HADOOP-8834.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified
tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of
javac compiler warnings.

    {color:green}+1 javadoc{color}.  The javadoc tool did not generate any warning messages.

    {color:green}+1 eclipse:eclipse{color}.  The patch built with eclipse:eclipse.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version
1.3.9) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number
of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-examples.

    {color:green}+1 contrib tests{color}.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/2251//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/2251//console

This message is automatically generated.
                
> Hadoop examples when run without an argument, gives ERROR instead of just usage info
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8834
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8834
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0, trunk-win
>            Reporter: Robert Justice
>            Assignee: Abhishek Kapoor
>            Priority: Minor
>         Attachments: HADOOP-8834.patch, HADOOP-8834.patch
>
>
> Hadoop sort example should not give an ERROR and only should display usage when run with
no parameters. 
> {code}
> $ hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar sort
> ERROR: Wrong number of parameters: 0 instead of 2.
> sort [-m <maps>] [-r <reduces>] [-inFormat <input format class>] [-outFormat
<output format class>] [-outKey <output key class>] [-outValue <output value
class>] [-totalOrder <pcnt> <num samples> <max splits>] <input>
<output>
> Generic options supported are
> -conf <configuration file>     specify an application configuration file
> -D <property=value>            use value for given property
> -fs <local|namenode:port>      specify a namenode
> -jt <local|jobtracker:port>    specify a job tracker
> -files <comma separated list of files>    specify comma separated files to be copied
to the map reduce cluster
> -libjars <comma separated list of jars>    specify comma separated jar files to
include in the classpath.
> -archives <comma separated list of archives>    specify comma separated archives
to be unarchived on the compute machines.
> The general command line syntax is
> bin/hadoop command [genericOptions] [commandOptions]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message