You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Eli Collins (JIRA)" <ji...@apache.org> on 2012/11/06 02:44:12 UTC
[jira] [Commented] (HADOOP-8951) RunJar to fail with
user-comprehensible error message if jar missing
[ 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