hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12271) Hadoop Jar Error Should Be More Explanatory
Date Fri, 31 Jul 2015 10:43:08 GMT

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

Hudson commented on HADOOP-12271:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #273 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/273/])
HADOOP-12271. Hadoop Jar Error Should Be More Explanatory. Contributed by Josh Elser. (harsh:
rev 2087eaf684d9fb14b5390e21bf17e93ac8fea7f8)
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/RunJar.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> 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
>             Fix For: 2.8.0
>
>         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)

Mime
View raw message