hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Douglas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3101) 'bin/hadoop job' should display the help and silently exit
Date Fri, 25 Apr 2008 19:31:56 GMT

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

Chris Douglas commented on HADOOP-3101:
---------------------------------------

This looks good, but getRemainingArgs probably shouldn't return null, but rather an empty
array. Applications checking argv.length in their own run() method will throw a NPE instead
of their expected behavior.

> 'bin/hadoop job' should display the help and silently exit
> ----------------------------------------------------------
>
>                 Key: HADOOP-3101
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3101
>             Project: Hadoop Core
>          Issue Type: Bug
>            Reporter: Amar Kamat
>            Assignee: Edward J. Yoon
>            Priority: Minor
>             Fix For: 0.18.0
>
>         Attachments: 3101.patch, 3101_v02.patch, 3101_v03.patch
>
>
> Currently 'bin/hadoop job' displays help and throws an exception. Like other commands
(e.g dfs) it should silently come out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message