Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2752

Build does not pass along properties to contrib builds

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: build
    • Labels:
      None
    • Environment:

      RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2

    • Hadoop Flags:
      Reviewed

      Description

      Subant call to compile contribs do not pass along parameters from parent build.
      Properties such as hadoop-common.version, asfrepo, offline, etc. are not passed along.
      Result is that build not connected to Internet fails, hdfs proxy refuses to build against own recently built common but rather downloads 0.22-SNAPSHOT from apache again.

      1. MAPREDUCE-2752.patch
        13 kB
        Joep Rottinghuis

        Issue Links

          Activity

          Hide
          Konstantin Boudnik added a comment -

          +1 patch looks good.
          I have to manually fix dependency file to work around screwed up ivy-0.22.0-SNAPSHOT.xml (thanks Konstantin for pointing out about HDFS-2189 side effects).

          ant compile-test doesn't work for contrib but it doesn't work with or without the patch: it seems broken nonetheless.

          I'll commit it shortly.

          Show
          Konstantin Boudnik added a comment - +1 patch looks good. I have to manually fix dependency file to work around screwed up ivy-0.22.0-SNAPSHOT.xml (thanks Konstantin for pointing out about HDFS-2189 side effects). ant compile-test doesn't work for contrib but it doesn't work with or without the patch: it seems broken nonetheless. I'll commit it shortly.
          Hide
          Konstantin Boudnik added a comment -

          I have just committed it. Thanks Joep.

          Show
          Konstantin Boudnik added a comment - I have just committed it. Thanks Joep.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-22-branch #62 (See https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/62/)
          MAPREDUCE-2752. Build does not pass along properties to contrib builds. Contribured by Joep Rottinghuis.

          cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154805
          Files :

          • /hadoop/common/branches/branch-0.22/mapreduce/src/contrib/build-contrib.xml
          • /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt
          • /hadoop/common/branches/branch-0.22/mapreduce/src/contrib/build.xml
          • /hadoop/common/branches/branch-0.22/mapreduce/build.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-22-branch #62 (See https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/62/ ) MAPREDUCE-2752 . Build does not pass along properties to contrib builds. Contribured by Joep Rottinghuis. cos : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1154805 Files : /hadoop/common/branches/branch-0.22/mapreduce/src/contrib/build-contrib.xml /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt /hadoop/common/branches/branch-0.22/mapreduce/src/contrib/build.xml /hadoop/common/branches/branch-0.22/mapreduce/build.xml

            People

            • Assignee:
              Joep Rottinghuis
              Reporter:
              Joep Rottinghuis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development