You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by Sandeep Jangra <sa...@gmail.com> on 2012/05/08 22:56:19 UTC

Building first time

Dear All,

  I am trying to build the hadoop release 1.0.2rc2 using cygwin.
  I have been able to install protocol buffers.

  Not sure how to compile the whole project. I tried running 'ant' from top
level and am getting the following:
  \hadoop\release-1.0.2-rc2\build.xml:2466: java.lang.NoClassDefFoundError:
org/apache/commons/codec/DecoderException

  I am interested in working on mapreduce package, so not sure if I need to
compile the whole tree.
  Please provide some pointers.


Thanks

Re: Building first time

Posted by Sandeep Jangra <sa...@gmail.com>.
Thanks for the response folks!

I am following the link http://wiki.apache.org/hadoop/HowToContribute but
looks like I am missing something.
I am in the following directory hadoop\release-1.0.2-rc2\src (attached
screenshot) and have been able to build the protocol buffer.
I am using cygwin and trying to build the mapreduce from command line.
(don't know whether to use ant or maven)

Obviously I might be missing something here. Any pointers please let me
know.
I will try to poke around more on this link later.

-Sandeep



On Wed, May 9, 2012 at 9:51 AM, Robert Evans <ev...@yahoo-inc.com> wrote:

> http://wiki.apache.org/hadoop/HowToContribute is the best place to start.
>  Checking the code in through git will not trigger a jenkins build, unless
> you have a special setup that goes beyond Apache provides.  You do not need
> to compile the entire tree to get Map/Reduce, but typically it is not a big
> deal to compile everything.
>
> --Bobby Evans
>
> On 5/8/12 11:50 PM, "Radim Kolar" <hs...@filez.com> wrote:
>
> I am interested in working on mapreduce package, so not sure if I need
> to compile the whole tree.
>
> I work on branch-0.23. It can be just imported into SpringToolsSuite,
> then click on Run -> Maven -> type in 'compile' target. It compiles
> module it just fails on Avro stuff. But it is good enough that you can
> edit it in Eclipse with some comfort. Then just commit to git and let
> Jenkins on Unix to build it for you.
>
>

Re: Building first time

Posted by Robert Evans <ev...@yahoo-inc.com>.
http://wiki.apache.org/hadoop/HowToContribute is the best place to start.  Checking the code in through git will not trigger a jenkins build, unless you have a special setup that goes beyond Apache provides.  You do not need to compile the entire tree to get Map/Reduce, but typically it is not a big deal to compile everything.

--Bobby Evans

On 5/8/12 11:50 PM, "Radim Kolar" <hs...@filez.com> wrote:

I am interested in working on mapreduce package, so not sure if I need
to compile the whole tree.

I work on branch-0.23. It can be just imported into SpringToolsSuite,
then click on Run -> Maven -> type in 'compile' target. It compiles
module it just fails on Avro stuff. But it is good enough that you can
edit it in Eclipse with some comfort. Then just commit to git and let
Jenkins on Unix to build it for you.


Re: Building first time

Posted by Radim Kolar <hs...@filez.com>.
I am interested in working on mapreduce package, so not sure if I need 
to compile the whole tree.

I work on branch-0.23. It can be just imported into SpringToolsSuite, 
then click on Run -> Maven -> type in 'compile' target. It compiles 
module it just fails on Avro stuff. But it is good enough that you can 
edit it in Eclipse with some comfort. Then just commit to git and let 
Jenkins on Unix to build it for you.