[
https://issues.apache.org/jira/browse/HADOOP-12271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser updated HADOOP-12271:
--------------------------------
Attachment: HADOOP-12271.002.patch
Checkstyle nit
> Hadoop Jar Error Should Be More Explanatory
> -------------------------------------------
>
> Key: HADOOP-12271
> URL: https://issues.apache.org/jira/browse/HADOOP-12271
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Jesse Anderson
> Assignee: Josh Elser
> Priority: Minor
> Attachments: HADOOP-12271.001.patch, HADOOP-12271.002.patch
>
>
> When the "hadoop jar" command is used and the JAR does not exist, the error
> message says "Not a valid JAR: ...". The message should say that the JAR does
> not exist. This error makes it sound like the JAR is corrupt or is not a JAR
> format.
> https://github.com/apache/hadoop/blob/c1d50a91f7c05e4aaf4655380c8dcd11703ff158/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java#L151
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)