hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Foley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4134) hadoop namenode & datanode entry points should return negative exit code on bad arguments
Date Tue, 20 Nov 2012 21:35:00 GMT

     [ https://issues.apache.org/jira/browse/HDFS-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Foley updated HDFS-4134:
-----------------------------

    Fix Version/s:     (was: 1.2.0)
    
> hadoop namenode & datanode entry points should return negative exit code on bad arguments
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-4134
>                 URL: https://issues.apache.org/jira/browse/HDFS-4134
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 1.0.4
>            Reporter: Steve Loughran
>            Priority: Minor
>             Fix For: 1.1.1
>
>         Attachments: HDFS-4134.patch
>
>
> When you go  {{hadoop namenode start}} (or some other bad argument to the namenode),
a usage message is generated -but the script returns 0. 
> This stops it being a robust command to invoke from other scripts -and is inconsistent
with the JT & TT entry points, that do return -1 on a usage message

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