[
https://issues.apache.org/jira/browse/HADOOP-6800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12882971#action_12882971
]
Hemanth Yamijala commented on HADOOP-6800:
------------------------------------------
Tom, I applied the new patch on HDFS-1212. This removed all the duplicates in
the ivy declarations. When I ran the project builds (using mvn-install as you
suggested), I now see only 2 repetitions - ivy-2.0.0-rc2 and ivy-2.1.0 and
jsp-2.1.jar and jsp-2.1-6.1.14.jar. In both the cases, *both* libraries were
present in HDFS and mapred. So, it is not like different versions present in
mapred and HDFS, but even within the project.
I thought this was close enough and wanted to build a single distribution of
the three packages and test it in pseudo-distributed mode. I was trying to use
the tar-munge script, but get some errors like:
mv: will not overwrite just-created `conf/configuration.xsl' with
`hdfs/conf/configuration.xsl'
I am still trying to resolve this, but I thought I'd update that except for the
two jars I mention, everything else seems very clean.
> 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.