hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Evans <ev...@yahoo-inc.com>
Subject Re: ERROR building latest trunk for Hadoop project
Date Wed, 31 Aug 2011 14:47:42 GMT
I ran into the same error with mvn compile.  There are some issues with dependency resolution
in mvn and you need to run

mvn test -DskipTests

To compile the code.

--Bobby


On 8/30/11 7:21 AM, "Praveen Sripati" <praveensripati@gmail.com> wrote:

Rerun the build with the below options and see if you can get more
information to solve this.

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

Thanks,
Praveen

On Tue, Aug 30, 2011 at 12:16 PM, A BlueCoder <bluecoder008@gmail.com>wrote:

> Hi, I have checked out the HEAD version of Hadoop trunk from svn, and run
> into the following errors when I do 'mvn compile'.
>
> Can some one shed some light on what goes wrong?
>
> Thanks a lot,
>
> B.C. 008
>
> NB, I have separately built and installed ProtocolBuffer package:
> protocobuf-2.4.1 successfully.
>
> ------------------------------------------------------------------------
> screenshot
> ------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-antrun-plugin:1.6:run
> (create-protobuf-generated-sources-directory) @ hadoop-yarn-c
> ommon ---
> [INFO] Executing tasks
>
> main:
>    [mkdir] Created dir:
> C:\temp\hadoop_trunk1\hadoop-mapreduce-project\hadoop-yarn\hadoop-yarn-comm
> on\target\generated-sources\proto
> [INFO] Executed tasks
> [INFO]
> [INFO] --- exec-maven-plugin:1.2:exec (generate-sources) @
> hadoop-yarn-common ---
> [INFO]
> [INFO] --- exec-maven-plugin:1.2:exec (generate-version) @
> hadoop-yarn-common ---
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Hadoop Project POM ......................... SUCCESS [3.265s]
> [INFO] Apache Hadoop Annotations ......................... SUCCESS [0.766s]
> [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [0.000s]
> [INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.156s]
> [INFO] Apache Hadoop Alfredo ............................. SUCCESS [0.578s]
> [INFO] Apache Hadoop Common .............................. SUCCESS
> [52.877s]
> [INFO] Apache Hadoop Common Project ...................... SUCCESS [0.015s]
> [INFO] Apache Hadoop HDFS ................................ SUCCESS [9.376s]
> [INFO] Apache Hadoop HDFS Project ........................ SUCCESS [0.000s]
> [INFO] hadoop-yarn-api ................................... SUCCESS
> [20.985s]
> [INFO] hadoop-yarn-common ................................ FAILURE [0.500s]
> [INFO] hadoop-yarn-server-common ......................... SKIPPED
> [INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
> [INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
> [INFO] hadoop-yarn-server-tests .......................... SKIPPED
> [INFO] hadoop-yarn-server ................................ SKIPPED
> [INFO] hadoop-yarn ....................................... SKIPPED
> [INFO] hadoop-mapreduce-client-core ...................... 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] hadoop-mapreduce-client ........................... SKIPPED
> [INFO] hadoop-mapreduce .................................. SKIPPED
> [INFO] Apache Hadoop Main ................................ SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1:29.940s
> [INFO] Finished at: Mon Aug 29 23:41:34 PDT 2011
> [INFO] Final Memory: 11M/40M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
> (generate-version) on pr
> oject hadoop-yarn-common: Command execution failed. Cannot run program
> "scripts\saveVersion.sh" (in
> directory
>
> "C:\temp\hadoop_trunk1\hadoop-mapreduce-project\hadoop-yarn\hadoop-yarn-common"):
> CreatePr
> ocess error=2, The system cannot find the file specified -> [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 arti
> cles:
> [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-yarn-common
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message