Hadoop Common
  1. Hadoop Common
  2. HADOOP-5204

hudson trunk build failure due to autoheader failure in create-c++-configure-libhdfs task

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      create-c++-configure-libhdfs:
      [exec] autoheader: warning: missing template: HADOOP_CONF_DIR
      [exec] autoheader: Use AC_DEFINE([HADOOP_CONF_DIR], [], [Description])
      [exec] autoreconf: /usr/bin/autoheader failed with exit status: 1

      See output at: http://hudson.zones.apache.org/hudson/view/Hadoop/job/Hadoop-trunk/746/

      1. HADOOP-5204-1.patch
        0.6 kB
        Sreekanth Ramakrishnan

        Activity

        Hide
        Sreekanth Ramakrishnan added a comment -

        Attaching patch which fixes this issue:

        The problem was caused reconfiguring autoconf script for task-controller.

        Task controller is a binary which is to be built only on Linux platform and for the environments which require HADOOP-4490, therefore it does not make sense to built it every time in hudson for trunk and test patch. So removing the autoreconf part from create-c++-configure target.

        Users who would require, task-controllers would have to specifically invoke "ant task-controller".

        Show
        Sreekanth Ramakrishnan added a comment - Attaching patch which fixes this issue: The problem was caused reconfiguring autoconf script for task-controller. Task controller is a binary which is to be built only on Linux platform and for the environments which require HADOOP-4490 , therefore it does not make sense to built it every time in hudson for trunk and test patch. So removing the autoreconf part from create-c++-configure target. Users who would require, task-controllers would have to specifically invoke "ant task-controller".
        Hide
        Sreekanth Ramakrishnan added a comment -

        Running thro' Hudson to verify the fix which works locally

        Show
        Sreekanth Ramakrishnan added a comment - Running thro' Hudson to verify the fix which works locally
        Hide
        Giridharan Kesavan added a comment -

        This patch is a timely fix which would enable the trunk build to go on. As mentioned by Sreekanth that, task-controller is required only for some specific environment; I think we can file a separate jira to fix the task-controller issue with autoreconf.

        With this I give my +1

        Show
        Giridharan Kesavan added a comment - This patch is a timely fix which would enable the trunk build to go on. As mentioned by Sreekanth that, task-controller is required only for some specific environment; I think we can file a separate jira to fix the task-controller issue with autoreconf. With this I give my +1
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12399893/HADOOP-5204-1.patch
        against trunk revision 742827.

        +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 tests are needed for this patch.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs warnings.

        +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        +1 core tests. The patch passed core unit tests.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/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/12399893/HADOOP-5204-1.patch against trunk revision 742827. +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 tests are needed for this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3825/console This message is automatically generated.
        Hide
        Sreekanth Ramakrishnan added a comment -

        The patch is related to build, hence no test case.

        Show
        Sreekanth Ramakrishnan added a comment - The patch is related to build, hence no test case.
        Hide
        Hemanth Yamijala added a comment -

        This is ready to go. I've been trying to check out trunk on the apache commit machine for the past 1 hour. It's s..l..o..w.

        Show
        Hemanth Yamijala added a comment - This is ready to go. I've been trying to check out trunk on the apache commit machine for the past 1 hour. It's s..l..o..w.
        Hide
        Hemanth Yamijala added a comment -

        I just committed this. Thanks, Sreekanth !

        Show
        Hemanth Yamijala added a comment - I just committed this. Thanks, Sreekanth !
        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Hadoop-trunk #756 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/ )

          People

          • Assignee:
            Sreekanth Ramakrishnan
            Reporter:
            Lee Tucker
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development