hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing
Date Tue, 06 Nov 2012 01:44:12 GMT

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

Eli Collins commented on HADOOP-8951:
-------------------------------------

I'd use the following in case this is ever called from tests:

{code}
ExitUtil#terminate(0, "Not a valid JAR: " + file.getCanonicalPath());
{code}

                
> RunJar to fail with user-comprehensible error message if jar missing
> --------------------------------------------------------------------
>
>                 Key: HADOOP-8951
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8951
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 1.1.0, 2.0.2-alpha
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 1.2.0, 2.0.3-alpha
>
>         Attachments: HADOOP-8951.patch
>
>
> When the RunJar JAR is missing or not a file, exit with a meaningful 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