hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3101) 'bin/hadoop job' should display the help and silently exit
Date Tue, 08 Apr 2008 09:03:26 GMT

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

Edward J. Yoon commented on HADOOP-3101:
----------------------------------------

>> Should there be a concern?

{code}
[root@a51402 hadoop]# bin/hadoop job -jt
08/04/08 17:52:25 WARN util.GenericOptionsParser: options parsing failed: Missing argument
for option:jt
usage: general options 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
Exception in thread "main" java.lang.NullPointerException
        at org.apache.hadoop.util.GenericOptionsParser.getRemainingArgs(GenericOptionsParser.java:129)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:64)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.mapred.JobClient.main(JobClient.java:1401)
{code}

> '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
>         Attachments: 3101.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