[
https://issues.apache.org/jira/browse/MAPREDUCE-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705182#comment-13705182
]
Hadoop QA commented on MAPREDUCE-5380:
--------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12591744/MAPREDUCE-5380.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 .
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3845//testReport/
Console output:
https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/3845//console
This message is automatically generated.
> Invalid mapred command should return non-zero exit code
> -------------------------------------------------------
>
> Key: MAPREDUCE-5380
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5380
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 3.0.0, 2.0.4-alpha
> Reporter: Stephen Chu
> Assignee: Stephen Chu
> Attachments: MAPREDUCE-5380.patch
>
>
> Running the mapred bin script with an invalid command returns exit code 0,
> but it should return a non-zero exit code.
> {code}
> [schu@hdfs-snapshots-1 ~]$ hadoop-3.0.0-SNAPSHOT/bin/mapred gibberish
> gibberish - invalid command
> Usage: mapred [--config confdir] COMMAND
> where COMMAND is one of:
> pipes run a Pipes job
> job manipulate MapReduce jobs
> queue get information regarding JobQueues
> classpath prints the class path needed for running
> mapreduce subcommands
> historyserver run job history servers as a standalone daemon
> distcp <srcurl> <desturl> copy file or directories recursively
> archive -archiveName NAME -p <parent path> <src>* <dest> create a hadoop
> archive
> Most commands print help when invoked w/o parameters.
> [schu@hdfs-snapshots-1 ~]$ echo $?
> 0
> [schu@hdfs-snapshots-1 ~]$
> {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