hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuri Pradkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1773) Hadoop build (ant) hangs while setting up init target, build process hangs
Date Thu, 17 Jan 2008 17:25:34 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-1773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560004#action_12560004
] 

Yuri Pradkin commented on HADOOP-1773:
--------------------------------------

Hi Hrishikesh,

Touching files on NFS using regular "touch" works fine (also works using the time string from
build).  I can't build on NFS server because it's out of my control, but here's what I did:
1. Copied the whole tree to a local dir
2. ant clean
3. rm build.xml; svn update build.xml 
4. ant -v -d

Here's clipped output:
...
init:
Setting project property: touch.temp.file -> /tmp/null2124908001
    [touch] Creating /tmp/null2124908001
Could not load class (org.apache.tools.ant.taskdefs.optional.image.Image) for type image
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun
Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects) for type
vajload
Could not load class (org.apache.tools.ant.taskdefs.optional.net.RExecTask) for type rexec
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamList) for type
stlist
Could not load class (org.apache.tools.ant.taskdefs.optional.net.TelnetTask) for type telnet
Could not load class (org.apache.tools.ant.taskdefs.optional.NetRexxC) for type netrexxc
Could not load class (org.apache.tools.ant.taskdefs.optional.net.FTP) for type ftp
Could not load class (org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut) for
type starteam
Could not load class (org.apache.tools.ant.taskdefs.optional.StyleBook) for type stylebook
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel) for type
stlabel
Could not load class (org.apache.tools.ant.taskdefs.optional.splash.SplashTask) for type splash
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckin) for
type stcheckin
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJExport) for type vajexport
Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.StarTeamCheckout) for
type stcheckout
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.Ejbc) for type ejbc
Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImport) for type vajimport
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLStop) for type wlstop
Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.DDCreator) for type ddcreator
fileset: Setup scanner in dir /tmp/hadoop/conf with patternSet{ includes: [**/*.template]
excludes: [] }

It hangs after the last line.

> 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
>
> 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.


Mime
View raw message