hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajesh putta <rajesh.p...@gmail.com>
Subject Re: while creating binary distribution without native code and without documentation: i came across this issue.Can anyone suggest what is the workaround for this.
Date Tue, 24 Jan 2012 06:35:21 GMT
Hi Ronald,
        REPO URL from which i checkout the code
is:-http://svn.apache.org/repos/asf/hadoop/common/trunk/
And after running using -X -e options
 $ mvn -X -e package -Pdist -DskipTests -Dtar
Please find the messages at the console while running with -X -e options

 [mkdir] Created dir:
/home/rajesh/Hadoop-trunk/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/tomcat.exp
     [exec] Current OS is Linux
     [exec] Executing 'sh' with arguments:
     [exec] './tomcat-untar.sh'
     [exec]
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
Execute:Java13CommandLauncher: Executing 'sh' with arguments:
'./tomcat-untar.sh'

The ' characters around the executable and arguments are
not part of the command.
     [exec]
     [exec] gzip: stdin: unexpected end of file
     [exec] tar: Unexpected EOF in archive
     [exec] tar: Unexpected EOF in archive
     [exec] tar: Error is not recoverable: exiting now
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [6.256s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [2.893s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [10.286s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [1.212s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [3.677s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [7.751s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [7.690s]
[INFO] Apache Hadoop Common .............................. SUCCESS [1:24.584s]
[INFO] Apache Hadoop Common Project ...................... SUCCESS [0.520s]
[INFO] Apache Hadoop HDFS ................................ SUCCESS [1:42.737s]
[INFO] Apache Hadoop HttpFS .............................. FAILURE [17.116s]
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
[INFO] Apache Hadoop HDFS Project ........................ SKIPPED
[INFO] hadoop-yarn ....................................... SKIPPED
[INFO] hadoop-yarn-api ................................... SKIPPED
[INFO] hadoop-yarn-common ................................ SKIPPED
[INFO] hadoop-yarn-server ................................ SKIPPED
[INFO] hadoop-yarn-server-common ......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
[INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
[INFO] hadoop-yarn-server-tests .......................... SKIPPED
[INFO] hadoop-mapreduce-client ........................... SKIPPED
[INFO] hadoop-mapreduce-client-core ...................... SKIPPED
[INFO] hadoop-yarn-applications .......................... SKIPPED
[INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
[INFO] hadoop-yarn-site .................................. SKIPPED
[INFO] hadoop-mapreduce-client-common .................... SKIPPED
[INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
[INFO] hadoop-mapreduce-client-app ....................... SKIPPED
[INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
[INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
[INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
[INFO] hadoop-mapreduce .................................. SKIPPED
[INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
[INFO] Apache Hadoop Archives ............................ SKIPPED
[INFO] Apache Hadoop Rumen ............................... SKIPPED
[INFO] Apache Hadoop Extras .............................. SKIPPED
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:08.319s
[INFO] Finished at: Tue Jan 24 12:00:43 IST 2012
[INFO] Final Memory: 44M/342M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (dist) on project
hadoop-hdfs-httpfs: An Ant BuildException has occured: exec returned:
2 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
(dist) on project hadoop-hdfs-httpfs: An Ant BuildException has
occured: exec returned: 2
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	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.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.MojoExecutionException: An Ant
BuildException has occured: exec returned: 2
	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:283)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 19 more
Caused by: /home/rajesh/Hadoop-trunk/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/antrun/build-main.xml:16:
exec returned: 2
	at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:650)
	at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:676)
	at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java: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:1397)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
	at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:270)
	... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hadoop-hdfs-httpfs

Thanks
Rajesh Putta

On Tue, Jan 24, 2012 at 11:41 AM, Ronald Petty <ronald.petty@gmail.com> wrote:
> Rajesh,
>
> What is the repo URL you used to checkout the code?  Also when running, can
> you add -X -e to the mvn command and send any additional output.
>
> Thanks.
>
> Ron
>
> On Mon, Jan 23, 2012 at 9:21 PM, rajesh putta <rajesh.putt@gmail.com> wrote:
>
>> Hi,
>> while creating binary distribution without native code and without
>> documentation:
>> i came across this issue.Can anyone suggest what is the workaround for
>> this.
>>
>>  $ mvn package -Pdist -DskipTests -Dtar
>>  [mkdir] Created dir:
>>
>> /home/rajesh/Hadoop-trunk/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/tomcat.exp
>>     [exec]
>>     [exec] gzip: stdin: unexpected end of file
>>     [exec] tar: Unexpected EOF in archive
>>     [exec] tar: Unexpected EOF in archive
>>     [exec] tar: Error is not recoverable: exiting now
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Hadoop Main ................................ SUCCESS
>> [2:21.793s]
>> [INFO] Apache Hadoop Project POM ......................... SUCCESS [6.817s]
>> [INFO] Apache Hadoop Annotations ......................... SUCCESS
>> [10.019s]
>> [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.644s]
>> [INFO] Apache Hadoop Project Dist POM .................... SUCCESS
>> [22.303s]
>> [INFO] Apache Hadoop Auth ................................ SUCCESS [8.442s]
>> [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [6.686s]
>> [INFO] Apache Hadoop Common .............................. SUCCESS
>> [1:49.166s]
>> [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.105s]
>> [INFO] Apache Hadoop HDFS ................................ SUCCESS
>> [2:24.712s]
>> [INFO] Apache Hadoop HttpFS .............................. FAILURE
>> [42.251s]
>> [INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
>> [INFO] Apache Hadoop HDFS Project ........................ SKIPPED
>> [INFO] hadoop-yarn ....................................... SKIPPED
>> [INFO] hadoop-yarn-api ................................... SKIPPED
>> [INFO] hadoop-yarn-common ................................ SKIPPED
>> [INFO] hadoop-yarn-server ................................ SKIPPED
>> [INFO] hadoop-yarn-server-common ......................... SKIPPED
>> [INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
>> [INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
>> [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
>> [INFO] hadoop-yarn-server-tests .......................... SKIPPED
>> [INFO] hadoop-mapreduce-client ........................... SKIPPED
>> [INFO] hadoop-mapreduce-client-core ...................... SKIPPED
>> [INFO] hadoop-yarn-applications .......................... SKIPPED
>> [INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
>> [INFO] hadoop-yarn-site .................................. SKIPPED
>> [INFO] hadoop-mapreduce-client-common .................... SKIPPED
>> [INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
>> [INFO] hadoop-mapreduce-client-app ....................... SKIPPED
>> [INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
>> [INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
>> [INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
>> [INFO] hadoop-mapreduce .................................. SKIPPED
>> [INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
>> [INFO] Apache Hadoop Archives ............................ SKIPPED
>> [INFO] Apache Hadoop Rumen ............................... SKIPPED
>> [INFO] Apache Hadoop Extras .............................. SKIPPED
>> [INFO] Apache Hadoop Tools Dist .......................... SKIPPED
>> [INFO] Apache Hadoop Tools ............................... SKIPPED
>> [INFO] Apache Hadoop Distribution ........................ SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 8:16.832s
>> [INFO] Finished at: Tue Jan 24 10:37:45 IST 2012
>> [INFO] Final Memory: 45M/344M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-antrun-plugin:1.6:run (dist) on project
>> hadoop-hdfs-httpfs: An Ant BuildException has occured: exec returned:
>> 2 -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>> the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :hadoop-hdfs-httpfs
>>

Mime
View raw message