You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2013/04/27 02:34:16 UTC

[jira] [Resolved] (HADOOP-1773) Hadoop build (ant) hangs while setting up init target, build process hangs

     [ https://issues.apache.org/jira/browse/HADOOP-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Loughran resolved HADOOP-1773.
------------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 3.0.0

resolving as a can't reproduce now that trunk is on Maven
                
> Hadoop build (ant) hangs while setting up init target, build process hangs
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-1773
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1773
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.15.0
>         Environment: Fedora7 on x64, java version "1.6.0_02", latest hadoop (svn version as of  8/21/07),  ant version 1.7.0 (but same problem with 1.6.5)
>            Reporter: Yuri Pradkin
>             Fix For: 3.0.0
>
>
> Ant hangs during a build process, eventually (in hours) dies of heap exhaustion.
> The problematic lines in build.xml seem to be in the init target (fileset operations):
> -    <touch datetime="01/25/1971 2:00 pm">
> -      <fileset dir="${conf.dir}" includes="**/*.template"/>
> -      <fileset dir="${contrib.dir}" includes="**/*.template"/>
> -    </touch>
> -    <copy todir="${conf.dir}" verbose="true">
> -      <fileset dir="${conf.dir}" includes="**/*.template"/>
> -      <mapper type="glob" from="*.template" to="*"/>
> -    </copy>
> -    <copy todir="${contrib.dir}" verbose="true">
> -      <fileset dir="${contrib.dir}" includes="**/*.template"/>
> -      <mapper type="glob" from="*.template" to="*"/>
> -    </copy>
> Commenting them out or deleting allows build to proceed to sucessful completion.  Not being an expert,
> in either xml or ant, I'm not sure what exactly I'm missing with those lines gone, but at least I'm able to compile.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira