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 "Tom White (JIRA)" <ji...@apache.org> on 2010/06/16 21:16:24 UTC

[jira] Updated: (HADOOP-6800) Harmonize JAR library versions

     [ https://issues.apache.org/jira/browse/HADOOP-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-6800:
------------------------------

    Attachment: HADOOP-6800.patch

This is one of three patches (others at HDFS-1212, MAPREDUCE-1870) that removes duplicate JARs. It updates a few Apache Commons JARs, JUnit, and SLF4J.

The hardest bit was ensuring that Ant 1.6.5 and 1.7.1 don't both appear. Part of the problem here is that the Maven artifact has been relocated from the ant group to org.apache.ant. Jetty's jsp-2.1 depends on the old one, which is now explicitly excluded.

I ran a few tests with the new configuration and they passed. I also used the script in HADOOP-6342 to test that the combined tarballs had no conflicting dependencies. 

> Harmonize JAR library versions
> ------------------------------
>
>                 Key: HADOOP-6800
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6800
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Tom White
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-6800.patch
>
>
> Currently, multiple versions of the same library JAR are being pulled in for various reasons.
> * Within the same project, multiple versions of the same JAR are pulled in. E.g. Avro (used by Common) depends on Commons Lang 2.5 while Common depends on Commons Lang 2.4.
> * Dependent subprojects use different versions. E.g. Common depends on Avro 1.3.2 while MapReduce depends on 1.3.0. Since MapReduce depends on Common, this has the potential to cause a problem at runtime.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.