[
https://issues.apache.org/jira/browse/HADOOP-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527991
]
Nilay Vaish commented on HADOOP-1773:
-------------------------------------
I carried out the same commands on the system I had mentioned earlier. I get a
successful build. Can you also check the variables ANT_HOME, JAVA_HOME,
CLASSPATH and PATH? Also, do you finally see a "*build successful*" when you
compile after removing the offending lines from build.xml?
> 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
> 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
> Priority: Critical
> Fix For: 0.15.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.
-
You can reply to this email to add a comment to the issue online.