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 "Jesse Anderson (JIRA)" <ji...@apache.org> on 2015/07/24 22:38:04 UTC

[jira] [Created] (HADOOP-12271) Hadoop Jar Error Should Be More Explanatory

Jesse Anderson created HADOOP-12271:
---------------------------------------

             Summary: 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
            Priority: Minor


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)