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

Build fails with ant 1.7.0 but works with 1.8.0

    Details

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

      Ubuntu 11.04; Sun JDK 1.6.0_26; Ant 1.8.2; Ant 1.7.0

    • Hadoop Flags:
      Reviewed

      Description

      contrib builds fail when using Ant 1.7.

      build.xml calls build.xml in contrib, which calls block-forensics build, which in turn uses build-contrib.
      The inheritAll=true overrides the basedir in ant 1.7.0 but not in 1.8.0.

      1. MAPREDUCE-2940.patch
        3 kB
        Joep Rottinghuis

        Issue Links

          Activity

          Hide
          Joep Rottinghuis added a comment -

          Snipped from the build log:

          BUILD FAILED
          /home/jrottinghuis/git/hadoop-common/mapreduce/build.xml:435: The following error occurred while executing this line:
          /home/jrottinghuis/git/hadoop-common/mapreduce/src/contrib/build.xml:30: The following error occurred while executing this line:
          /home/jrottinghuis/git/hadoop-common/mapreduce/src/contrib/block_forensics/build.xml:26: The following error occurred while executing this line:
          /home/jrottinghuis/git/hadoop-common/mapreduce/src/contrib/build-contrib.xml:82: Source resource does not exist: /home/jrottinghuis/git/hadoop-common/mapredu
          ce/src/contrib/ivy/libraries.properties

          Show
          Joep Rottinghuis added a comment - Snipped from the build log: BUILD FAILED /home/jrottinghuis/git/hadoop-common/mapreduce/build.xml:435: The following error occurred while executing this line: /home/jrottinghuis/git/hadoop-common/mapreduce/src/contrib/build.xml:30: The following error occurred while executing this line: /home/jrottinghuis/git/hadoop-common/mapreduce/src/contrib/block_forensics/build.xml:26: The following error occurred while executing this line: /home/jrottinghuis/git/hadoop-common/mapreduce/src/contrib/build-contrib.xml:82: Source resource does not exist: /home/jrottinghuis/git/hadoop-common/mapredu ce/src/contrib/ivy/libraries.properties
          Hide
          Joep Rottinghuis added a comment -

          Jenkins build fails on Ant setup before reaching this bug.

          Show
          Joep Rottinghuis added a comment - Jenkins build fails on Ant setup before reaching this bug.
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12493690/MAPREDUCE-2940.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          -1 patch. The patch command could not apply the patch.

          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/664//console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12493690/MAPREDUCE-2940.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/664//console This message is automatically generated.
          Hide
          Konstantin Shvachko added a comment -

          +1. Ran test locally.

          Show
          Konstantin Shvachko added a comment - +1. Ran test locally.
          Hide
          Konstantin Shvachko added a comment -

          I just committed this. Thank you Joep.

          Show
          Konstantin Shvachko added a comment - I just committed this. Thank you Joep.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-22-branch #68 (See https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/68/)
          MAPREDUCE-2940. Build fails with ant 1.7.0 but works with 1.8.0. Contributed by Joep Rottinghuis.

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

          • /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt
          • /hadoop/common/branches/branch-0.22/mapreduce/build.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-22-branch #68 (See https://builds.apache.org/job/Hadoop-Mapreduce-22-branch/68/ ) MAPREDUCE-2940 . Build fails with ant 1.7.0 but works with 1.8.0. Contributed by Joep Rottinghuis. shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1167346 Files : /hadoop/common/branches/branch-0.22/mapreduce/CHANGES.txt /hadoop/common/branches/branch-0.22/mapreduce/build.xml
          Hide
          Joep Rottinghuis added a comment -

          Build is probably still failing due to HDFS-2315, but I cannot confirm right now due to connectivity problems to Jenkins server:

          Proxy Error
          The proxy server received an invalid response from an upstream server.
          The proxy server could not handle the request GET /job/Hadoop-Mapreduce-22-branch/68/.

          Reason: Error reading from remote server

          --------------------------------------------------------------------------------

          Apache/2.2.14 (Ubuntu) Server at builds.apache.org Port 443

          Show
          Joep Rottinghuis added a comment - Build is probably still failing due to HDFS-2315 , but I cannot confirm right now due to connectivity problems to Jenkins server: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /job/Hadoop-Mapreduce-22-branch/68/. Reason: Error reading from remote server -------------------------------------------------------------------------------- Apache/2.2.14 (Ubuntu) Server at builds.apache.org Port 443

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development