hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8951) RunJar to fail with user-comprehensible error message if jar missing
Date Mon, 22 Oct 2012 14:12:12 GMT

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

Steve Loughran commented on HADOOP-8951:
----------------------------------------

HADOOP-8950 shows that a stack trace showing unzip failed isn't immediately meaningful to
people who aren't used to reading stack traces.

I propose having a sanity check that looks for the arg[1] file existing and having the {{isFile()}}
nature; exiting with text and an error if not.
                
> 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
>            Priority: Minor
>
> 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