hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lebikasa Kao <...@ken-itc.com>
Subject compile hadoop-1.1.1 on zLinux using apache maven
Date Thu, 13 Dec 2012 12:41:57 GMT
Hello Guys,
Now that I have downloaded the hadoop 1.1.1 source tar ball, I am trying to
compile it for my platform (s390) running SLES 11.
I am encountering a couple of problem for which I have some questions:

1) Is there an official guide from the hadoop project showing how to build
a binary for a custom target platform? I didn't find anything similar in
the tar ball documentation

2) When using maven and trying to compile the hadoop sources, I got the
following error:

----------------------------------------------------------------------------------------
localhost:/opt/flume_hadoop/hadoop-1.1.1 # mvn package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.093s
[INFO] Finished at: Thu Dec 13 10:23:05 CET 2012
[INFO] Final Memory: 4M/11M
[INFO]
------------------------------------------------------------------------
[ERROR] The goal you specified requires a project to execute but there is
no POM in this directory (/opt/flume_hadoop/hadoop-1.1.1). Please verify
you invoked Maven from the correct directory. -> [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/MissingProjectException<https://service.gmx.net/de/cgi/derefer?TYPE=3&DEST=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FMissingProjectException>
localhost:/opt/flume_hadoop/hadoop-1.1.1 #
------------------------------------------------------------------------------------

The compiler is complaining about the missing of POM in this directory
(/opt/flume_hadoop/hadoop-1.1.1). But there is no "pom.xml" in the official
tar ball.
Any idea?

3) Can I compile the package in a simpler way other then maven?

Thank you!

Cheers, Emile

Mime
View raw message