You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Emile Kao <em...@gmx.net> on 2012/12/13 11:08:28 UTC

compile hadoop-1.1.1 on zLinux using apache maven

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


Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Fyi, I compiles 1.0.3 successfully using ant last week. So steps seems
still to be good.

JM
Le 13 déc. 2012 05:28, "Nicolas Liochon" <nk...@gmail.com> a écrit :

> branch1 does not use maven but ant.
> There are some docs here:
> http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's
> totally up to date.
>
> On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:
>
>>
>>
>> 3) Can I compile the package in a simpler way other then maven?
>>
>
>

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Fyi, I compiles 1.0.3 successfully using ant last week. So steps seems
still to be good.

JM
Le 13 déc. 2012 05:28, "Nicolas Liochon" <nk...@gmail.com> a écrit :

> branch1 does not use maven but ant.
> There are some docs here:
> http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's
> totally up to date.
>
> On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:
>
>>
>>
>> 3) Can I compile the package in a simpler way other then maven?
>>
>
>

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Fyi, I compiles 1.0.3 successfully using ant last week. So steps seems
still to be good.

JM
Le 13 déc. 2012 05:28, "Nicolas Liochon" <nk...@gmail.com> a écrit :

> branch1 does not use maven but ant.
> There are some docs here:
> http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's
> totally up to date.
>
> On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:
>
>>
>>
>> 3) Can I compile the package in a simpler way other then maven?
>>
>
>

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Fyi, I compiles 1.0.3 successfully using ant last week. So steps seems
still to be good.

JM
Le 13 déc. 2012 05:28, "Nicolas Liochon" <nk...@gmail.com> a écrit :

> branch1 does not use maven but ant.
> There are some docs here:
> http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's
> totally up to date.
>
> On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:
>
>>
>>
>> 3) Can I compile the package in a simpler way other then maven?
>>
>
>

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Nicolas Liochon <nk...@gmail.com>.
branch1 does not use maven but ant.
There are some docs here:
http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's totally
up to date.

On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:

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

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Nicolas Liochon <nk...@gmail.com>.
branch1 does not use maven but ant.
There are some docs here:
http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's totally
up to date.

On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:

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

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Nicolas Liochon <nk...@gmail.com>.
branch1 does not use maven but ant.
There are some docs here:
http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's totally
up to date.

On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:

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

Re: compile hadoop-1.1.1 on zLinux using apache maven

Posted by Nicolas Liochon <nk...@gmail.com>.
branch1 does not use maven but ant.
There are some docs here:
http://wiki.apache.org/hadoop/BuildingHadoopFromSVN, not sure it's totally
up to date.

On Thu, Dec 13, 2012 at 11:08 AM, Emile Kao <em...@gmx.net> wrote:

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