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 241058EA7 for ; Thu, 18 Aug 2011 13:59:52 +0000 (UTC) Received: (qmail 8435 invoked by uid 500); 18 Aug 2011 13:59:51 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 8221 invoked by uid 500); 18 Aug 2011 13:59:50 -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 8212 invoked by uid 99); 18 Aug 2011 13:59:50 -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 13:59:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harsh@cloudera.com designates 209.85.218.48 as permitted sender) Received: from [209.85.218.48] (HELO mail-yi0-f48.google.com) (209.85.218.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2011 13:59:45 +0000 Received: by yib17 with SMTP id 17so2030772yib.35 for ; Thu, 18 Aug 2011 06:59:24 -0700 (PDT) Received: by 10.236.78.200 with SMTP id g48mr4300367yhe.12.1313675964553; Thu, 18 Aug 2011 06:59:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.236.44.35 with HTTP; Thu, 18 Aug 2011 06:59:04 -0700 (PDT) In-Reply-To: References: From: Harsh J Date: Thu, 18 Aug 2011 19:29:04 +0530 Message-ID: Subject: Re: Notes for working on mapreduce trunk after the MR-279 merge. To: mapreduce-dev@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/INST= ALL. > 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-m= apreduce > > -------------------------- > 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 -DskipTest= s > > 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 > --=20 Harsh J