hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6800) Harmonize JAR library versions
Date Sun, 27 Jun 2010 05:32:50 GMT

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

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

    Attachment: build.sh

Hemanth,

I used the following command to find clashes in libraries.properties. The only problematic
one was hdfsproxy's libraries.properties, as you pointed out, and which I've updated in HDFS-1212.

{code}
find hadoop-{common,hdfs,mapreduce}-trunk/ivy hadoop-{common,hdfs,mapreduce}-trunk/src -name
libraries.properties | xargs cat | sort | uniq
{code}

However, even before this change, when running the attached build.sh script I got distinct
libraries. (I suspect that the ones in HDFS were getting upgraded due to other dependencies.)
I don't see the compile problem you had (this was with SVN revision 958322). Perhaps you can
try the build.sh script with the patches from this JIRA, HDFS-1212, and MAPREDUCE-1870 applied
to trunk? Thanks!

> 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
>            Assignee: Tom White
>            Priority: Blocker
>             Fix For: 0.21.0
>
>         Attachments: build.sh, HADOOP-6800.patch, HADOOP-6800.patch, HADOOP-6800.patch,
ivy-declarations.dump.merged, jars-in-lib.dump.merged
>
>
> 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.


Mime
View raw message