Hey Harsh, I came across a video on building hadoop source code on cloudera site, but it was using Ant (on an older project layout). If you're able to use m2eclipse, would you like to make a similar video post or document it somewhere.
The other issue I ran into - the unit tests weren't running from eclipse. Thanks, Shaan > From: ha...@cloudera.com > Date: Thu, 23 Aug 2012 22:21:18 +0530 > Subject: Re: building Hadoop source code in Eclipse > To: user@hadoop.apache.org > > Hey Adam, > > I use m2e and it seems to work pretty well for me. Of course, I do not > look for a perfectly clean project state (some projects show build > issues), and rely on CLI maven commands when I need to compile > something properly. But as a reference/editor, using m2e seems to work > just fine. > > On Thu, Aug 23, 2012 at 10:17 PM, Adam Berry <ambe...@yahoo-inc.com> wrote: > > I just ran through the same thing. The addition for me was an additional > > Import step, but pointing at the hadoop-yarn-project, and then grabbing all > > the projects from that. > > > > With this I drop to the command line for building with maven. > > > > I've tried to work with m2eclipse and this, but so far with no luck, as the > > article says it seems to be something of a mess. > > > > Adam > > > > From: susnata basak <susn...@hotmail.com> > > Reply-To: "user@hadoop.apache.org" <user@hadoop.apache.org> > > Date: Thursday, August 23, 2012 11:38 AM > > To: "user@hadoop.apache.org" <user@hadoop.apache.org> > > Subject: building Hadoop source code in Eclipse > > > > Hi All, > > > > While trying to build hadoop source code in eclipse using maven following > > the instructions on - > > http://wiki.apache.org/hadoop/EclipseEnvironment > > > > I noticed that the project layout has changed in the latest development > > version, as such the instruction didn't quite match. I was wondering if > > we've updated documentation on building hadoop source code in eclipse (using > > maven or ant). > > > > I'd appreciate any help on this. > > > > Thanks, > > Shaan > > > > -- > Harsh J