Return-Path: X-Original-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37B9580CA for ; Thu, 18 Aug 2011 15:47:09 +0000 (UTC) Received: (qmail 58797 invoked by uid 500); 18 Aug 2011 15:47:08 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 58742 invoked by uid 500); 18 Aug 2011 15:47:08 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 58734 invoked by uid 99); 18 Aug 2011 15:47:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2011 15:47:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2011 15:47:03 +0000 Received: by wyg30 with SMTP id 30so2332188wyg.35 for ; Thu, 18 Aug 2011 08:46:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.133.144 with SMTP id f16mr746683wbt.97.1313682401558; Thu, 18 Aug 2011 08:46:41 -0700 (PDT) Received: by 10.227.3.20 with HTTP; Thu, 18 Aug 2011 08:46:41 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Aug 2011 21:16:41 +0530 Message-ID: Subject: Re: Notes for working on mapreduce trunk after the MR-279 merge. From: Vinod Kumar Vavilapalli To: mapreduce-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Good idea. Created http://wiki.apache.org/hadoop/DevelopingOnTrunkAfter279M= erge Please feel free to edit it. Once it stabilises, we can move the content over to HowToContribute and/or something like HowToBuildAndInstall. Thanks, +Vinod On Thu, Aug 18, 2011 at 7:29 PM, Harsh J wrote: > Awesome Vinod, thanks much for these instructions! > > Perhaps these may be recorded on the frequented wiki HowToContribute > pages as well? :) > > On Thu, Aug 18, 2011 at 6:19 PM, Vinod Kumar Vavilapalli > wrote: >> MR-279 branch is merged into mapreduce trunk and this changes things a >> bit for developing on mapreduce. >> >> You can get all the help that is needed from the INSTALL file at >> http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce/INS= TALL. >> Reproducing some of those contents here for the short-term lookup. >> >> ------------------------------------ >> Checking out source code >> ------------------------------------ >> svn checkout http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-= mapreduce >> >> -------------------------- >> Directory structure >> -------------------------- >> >> trunk/ >> =A0- hadoop-mapreduce ( was mapreduce before) >> >> trunk/hadoop-mapreduce - Classic code. JT/TT reside here >> =A0- build.xml >> =A0- src >> >> trunk/hadoop-mapreduce/ - New code related to yarn reside here. >> =A0- assembly >> =A0- pom.xml >> =A0- hadoop-mr-client >> =A0- hadoop-yarn - Yarn APIs, libraries, and server code >> =A0 -- hadoop-yarn-api >> =A0 -- hadoop-yarn-common >> =A0 -- hadoop-yarn-server - Server code, ResourceManager, NodeManager, >> server libraries and tests. >> =A0 =A0 =A0--- hadoop-yarn-server-common >> =A0 =A0 =A0--- hadoop-yarn-server-nodemanager >> =A0 =A0 =A0--- hadoop-yarn-server-resourcemanager >> =A0 =A0 =A0--- hadoop-yarn-server-tests >> =A0- hadoop-mr-client - MapReduce server and client code >> =A0 -- hadoop-mapreduce-client-app >> =A0 -- hadoop-mapreduce-client-core >> =A0 -- hadoop-mapreduce-client-jobclient >> =A0 -- hadoop-mapreduce-client-common >> =A0 -- hadoop-mapreduce-client-hs >> =A0 -- hadoop-mapreduce-client-shuffle >> >> ----------- >> Building >> ----------- >> Building yarn code and install into the local maven cache. >> =A0- mvn clean install >> =A0- In case you want to skip the tests run: mvn clean install -DskipTes= ts >> >> Building classic code once yarn code is built. >> =A0- ant veryclean jar jar-test =A0-Dresolvers=3Dinternal >> >> ---------- >> Eclipse >> ----------- >> =A01) For hacking on the new yarn+MR code in eclipse, you should run >> "mvn eclipse:eclipse" and then import the checked out source root as a >> maven project. >> =A02) For developing on classic JT/TT code, running "ant eclipse" and >> importing as java project should continue to work. >> >> Hope that helps. If you run into issues, please send an email or >> create a JIRA issue. >> >> Thanks, >> +Vinod >> > > > > -- > Harsh J >