Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2315

Build fails with ant 1.7.0 but works with 1.8.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • 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

      Build failure:
      https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Hdfs-22-branch/80
      build.xml calls build.xml in contrib, which calls fuse 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. HDFS-2315.patch
        2 kB
        Joep Rottinghuis

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          15m 18s 1 Joep Rottinghuis 07/Sep/11 00:01
          Patch Available Patch Available Resolved Resolved
          38m 4s 1 Konstantin Shvachko 07/Sep/11 00:40
          Resolved Resolved Closed Closed
          96d 6h 38m 1 Konstantin Shvachko 12/Dec/11 06:18
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Joep Rottinghuis made changes -
          Link This issue relates to MAPREDUCE-2940 [ MAPREDUCE-2940 ]
          Joep Rottinghuis made changes -
          Link This issue is blocked by MAPREDUCE-2940 [ MAPREDUCE-2940 ]
          Joep Rottinghuis made changes -
          Link This issue is blocked by MAPREDUCE-2940 [ MAPREDUCE-2940 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-22-branch #81 (See https://builds.apache.org/job/Hadoop-Hdfs-22-branch/81/)
          HDFS-2315. Fix build-contrib to work with ant older than 1.8. Contributed by Joep Rottinghuis.

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

          • /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt
          • /hadoop/common/branches/branch-0.22/hdfs/build.xml
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-22-branch #81 (See https://builds.apache.org/job/Hadoop-Hdfs-22-branch/81/ ) HDFS-2315 . Fix build-contrib to work with ant older than 1.8. Contributed by Joep Rottinghuis. shv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1165931 Files : /hadoop/common/branches/branch-0.22/hdfs/CHANGES.txt /hadoop/common/branches/branch-0.22/hdfs/build.xml
          Konstantin Shvachko made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          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
          Konstantin Shvachko added a comment -

          +1 this should fix the build

          Show
          Konstantin Shvachko added a comment - +1 this should fix the build
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12493244/HDFS-2315.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-HDFS-Build/1209//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/12493244/HDFS-2315.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-HDFS-Build/1209//console This message is automatically generated.
          Joep Rottinghuis made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Joep Rottinghuis made changes -
          Field Original Value New Value
          Attachment HDFS-2315.patch [ 12493244 ]
          Hide
          Joep Rottinghuis added a comment -

          Passing basedir explicitly to the contrib calls should override its local setting.
          This is a bug in ant 1.6.5 and 1.7.0, but not in ant 1.8.0. Fix works for all versions.

          Show
          Joep Rottinghuis added a comment - Passing basedir explicitly to the contrib calls should override its local setting. This is a bug in ant 1.6.5 and 1.7.0, but not in ant 1.8.0. Fix works for all versions.
          Hide
          Joep Rottinghuis added a comment -

          Jenkins log:
          ======================================================================
          ======================================================================
          BUILD: ant clean tar mvn-deploy findbugs -Dtest.junit.output.format=xml -Dcompile.c++=true -Dcompile.native=true -Dfindbugs.home=$FINDBUGS_HOME -Dforrest.home=$FORREST_HOME -Dclover.home=$CLOVER_HOME -Declipse.home=$ECLIPSE_HOME
          ======================================================================
          ======================================================================

          Buildfile: build.xml

          clean-contrib:

          clean:

          BUILD FAILED
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/build.xml:1288: The following error occurred while executing this line:
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/build.xml:60: The following error occurred while executing this line:
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/fuse-dfs/build.xml:22: The following error occurred while executing this line:
          /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/build-contrib.xml:68: Source resource does not exist: /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/ivy/libraries.properties

          Total time: 0 seconds

          Show
          Joep Rottinghuis added a comment - Jenkins log: ====================================================================== ====================================================================== BUILD: ant clean tar mvn-deploy findbugs -Dtest.junit.output.format=xml -Dcompile.c++=true -Dcompile.native=true -Dfindbugs.home=$FINDBUGS_HOME -Dforrest.home=$FORREST_HOME -Dclover.home=$CLOVER_HOME -Declipse.home=$ECLIPSE_HOME ====================================================================== ====================================================================== Buildfile: build.xml clean-contrib: clean: BUILD FAILED /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/build.xml:1288: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/build.xml:60: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/fuse-dfs/build.xml:22: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/build-contrib.xml:68: Source resource does not exist: /home/jenkins/jenkins-slave/workspace/Hadoop-Hdfs-22-branch/trunk/src/contrib/ivy/libraries.properties Total time: 0 seconds
          Joep Rottinghuis created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development