hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umesh Kant <kantum...@yahoo.com>
Subject Re: Building Hadoop on Windows, SDK 7.1, Error An Ant BuildException has occured: input file hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target\findbugsXml.xml does not exist
Date Sun, 05 Apr 2015 23:31:21 GMT
Forgot to mention, am using following Maven command
mvn package -X -Pdist -Pdocs -Psrc -Dtar -DskipTests -Pnative-win findbugs:findbugs
Thanks,Umesh
       From: Umesh Kant <kantumesh@yahoo.com>
 To: "user@hadoop.apache.org" <user@hadoop.apache.org> 
 Sent: Friday, April 3, 2015 11:35 PM
 Subject: Building Hadoop on Windows, SDK 7.1, Error An Ant BuildException has occured: input
file hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target\findbugsXml.xml does not
exist
   
All,
I am trying to build hadoop 2.6.0 on Windows 7 64 bit, Windows 7.1 SDK. I have gone through
Build.txt file and have did follow all the pre-requisites for build on windows. Still when
I try to build, I am getting following error:
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:35 min
[INFO] Finished at: 2015-04-03T23:16:57-04:00
[INFO] Final Memory: 123M/1435M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:
run (site) on project hadoop-common: An Ant BuildException has occured: input fi
le C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target\findbugsXml.
xml does not exist
[ERROR] around Ant part ...<xslt in="C:\H\hadoop-2.6.0-src\hadoop-common-project
\hadoop-common\target/findbugsXml.xml" style="C:\findbugs-3.0.1/src/xsl/default.
xsl" out="C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target/site/
findbugs.html"/>... @ 44:232 in C:\H\hadoop-2.6.0-src\hadoop-common-project\hado
op-common\target\antrun\build-main.xml
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-antrun-plugin:1.7:run (site) on project hadoop-com
mon: An Ant BuildException has occured: input file C:\H\hadoop-2.6.0-src\hadoop-
common-project\hadoop-common\target\findbugsXml.xml does not exist
around Ant part ...<xslt in="C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-
common\target/findbugsXml.xml" style="C:\findbugs-3.0.1/src/xsl/default.xsl" out
="C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target/site/findbugs
.html"/>... @ 44:232 in C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-commo
n\target\antrun\build-main.xml
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:216)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:116)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:80)
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThre
adedBuilder.build(SingleThreadedBuilder.java:51)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:128)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
356)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant BuildException
 has occured: input file C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-comm
on\target\findbugsXml.xml does not exist
around Ant part ...<xslt in="C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-
common\target/findbugsXml.xml" style="C:\findbugs-3.0.1/src/xsl/default.xsl" out
="C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target/site/findbugs
.html"/>... @ 44:232 in C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-commo
n\target\antrun\build-main.xml
        at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:355
)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:134)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:208)
        ... 20 more
Caused by: C:\H\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\target\antr
un\build-main.xml:44: input file C:\H\hadoop-2.6.0-src\hadoop-common-project\had
oop-common\target\findbugsXml.xml does not exist
        at org.apache.tools.ant.taskdefs.XSLTProcess.handleError(XSLTProcess.jav
a:1243)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:33
5)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
        at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:327
)
        ... 22 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command[ERROR]  
mvn <goals> -rf :hadoop-common

I would appreciate your help, in case you know what could be wrong.
Thanks,Umesh


  
Mime
View raw message