[jira] [Commented] (MAPREDUCE-2753) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
[ https://issues.apache.org/jira/browse/MAPREDUCE-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13082077#comment-13082077 ] Hudson commented on MAPREDUCE-2753: --- Integrated in Hadoop-Mapreduce-22-branch #62 (See [https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/62/]) MAPREDUCE-2753. Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT. Contributed by Joep Rottinghuis. cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1154806 Files : * /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt * /hadoop/common/branches/branch-0.22/mapreduce/build.xml * /hadoop/common/branches/branch-0.22/mapreduce/ivy/hadoop-mapred-instrumented-template.xml * /hadoop/common/branches/branch-0.22/mapreduce/ivy/hadoop-mapred-template.xml Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT --- Key: MAPREDUCE-2753 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2753 Project: Hadoop Map/Reduce Issue Type: Bug Components: build Affects Versions: 0.22.0 Environment: RHEL 6.1 Ubuntu 11.04; Sun JDK 1.6_016 Sun JDK 1.6.0_26; Ant 1.8.2 Reporter: Joep Rottinghuis Fix For: 0.22.0 Attachments: MAPREDUCE-2753-1.patch, MAPREDUCE-2753.patch The generated poms inject the version of mapred itself, but hardcode the version of hadoop-common they depend on. When trying to build downstream projects (HBase), then they will require hadoop-common-0.22.0-SNAPSHOT.jar instead of the version they compiled against. When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo. Even during online build, it should compile against the hadoop-common that hdfs compiled against. When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-mapreduce and you want to try this locally before committing each. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2753) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
[ https://issues.apache.org/jira/browse/MAPREDUCE-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13080700#comment-13080700 ] Konstantin Boudnik commented on MAPREDUCE-2753: --- +1 patch looks good. I can see that correct version is generated in the newly installed pom file for MR artifacts. Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT --- Key: MAPREDUCE-2753 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2753 Project: Hadoop Map/Reduce Issue Type: Bug Components: build Affects Versions: 0.22.0 Environment: RHEL 6.1 Ubuntu 11.04; Sun JDK 1.6_016 Sun JDK 1.6.0_26; Ant 1.8.2 Reporter: Joep Rottinghuis Attachments: MAPREDUCE-2753-1.patch, MAPREDUCE-2753.patch The generated poms inject the version of mapred itself, but hardcode the version of hadoop-common they depend on. When trying to build downstream projects (HBase), then they will require hadoop-common-0.22.0-SNAPSHOT.jar instead of the version they compiled against. When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo. Even during online build, it should compile against the hadoop-common that hdfs compiled against. When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-mapreduce and you want to try this locally before committing each. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2753) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT
[ https://issues.apache.org/jira/browse/MAPREDUCE-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13073072#comment-13073072 ] Joep Rottinghuis commented on MAPREDUCE-2753: - Uploaded new patch MAPREDUCE-2753-1.patch Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT --- Key: MAPREDUCE-2753 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2753 Project: Hadoop Map/Reduce Issue Type: Bug Components: build Affects Versions: 0.22.0 Environment: RHEL 6.1 Ubuntu 11.04; Sun JDK 1.6_016 Sun JDK 1.6.0_26; Ant 1.8.2 Reporter: Joep Rottinghuis Attachments: MAPREDUCE-2753-1.patch, MAPREDUCE-2753.patch The generated poms inject the version of mapred itself, but hardcode the version of hadoop-common they depend on. When trying to build downstream projects (HBase), then they will require hadoop-common-0.22.0-SNAPSHOT.jar instead of the version they compiled against. When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo. Even during online build, it should compile against the hadoop-common that hdfs compiled against. When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-mapreduce and you want to try this locally before committing each. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira