Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 894EB9811 for ; Tue, 21 Feb 2012 05:04:04 +0000 (UTC) Received: (qmail 1230 invoked by uid 500); 21 Feb 2012 05:04:03 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 1151 invoked by uid 500); 21 Feb 2012 05:04:02 -0000 Mailing-List: contact mapreduce-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-user@hadoop.apache.org Delivered-To: mailing list mapreduce-user@hadoop.apache.org Received: (qmail 1142 invoked by uid 99); 21 Feb 2012 05:04:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 05:04:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mohitanchlia@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-pz0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 05:03:55 +0000 Received: by dadp13 with SMTP id p13so7758148dad.35 for ; Mon, 20 Feb 2012 21:03:34 -0800 (PST) Received-SPF: pass (google.com: domain of mohitanchlia@gmail.com designates 10.68.201.101 as permitted sender) client-ip=10.68.201.101; Authentication-Results: mr.google.com; spf=pass (google.com: domain of mohitanchlia@gmail.com designates 10.68.201.101 as permitted sender) smtp.mail=mohitanchlia@gmail.com; dkim=pass header.i=mohitanchlia@gmail.com Received: from mr.google.com ([10.68.201.101]) by 10.68.201.101 with SMTP id jz5mr62941413pbc.152.1329800614628 (num_hops = 1); Mon, 20 Feb 2012 21:03:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XT5nr2DDS8hAVHBND9ywwkrsSbK91ATXLlGxPM8bmdQ=; b=D29hexALzokmLN8hkiQnWW3eg7IR6VZg3TXdbJ1d/dq0jHMfY2PV+4NOIMdVoGjqrb cZpCxodrUFimw8HnhEVt2/yaeMpXf6CF3X3VUBj9AiDn7c0bOiF63nWGx+hXk5dN21nk 48UPF55PAW0J1Ui2Q3rjRDCeUklCUvwiHFmdM= MIME-Version: 1.0 Received: by 10.68.201.101 with SMTP id jz5mr52304944pbc.152.1329800614559; Mon, 20 Feb 2012 21:03:34 -0800 (PST) Received: by 10.68.225.72 with HTTP; Mon, 20 Feb 2012 21:03:34 -0800 (PST) In-Reply-To: References: Date: Mon, 20 Feb 2012 21:03:34 -0800 Message-ID: Subject: Re: Mapreduce and unit tests From: Mohit Anchlia To: mapreduce-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b15af7b40bfd904b97255c1 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b15af7b40bfd904b97255c1 Content-Type: text/plain; charset=ISO-8859-1 Thanks! Also, is there some place that can help me setup eclipse for map reduce and pig udf? Is there a maven for that too? Thanks On Mon, Feb 20, 2012 at 6:20 PM, Brock Noland wrote: > Hi, > > On Mon, Feb 20, 2012 at 6:03 PM, Mohit Anchlia > wrote: > > Could someone give me some directions or examples of writing mapreduce > and > > unit tests to test them? > > There is an apache project for this called MRUnit: > http://cwiki.apache.org/confluence/display/MRUNIT > > Example: > https://cwiki.apache.org/confluence/display/MRUNIT/Testing+Word+Count > > Brock > > -- > Apache MRUnit - Unit testing MapReduce - > http://incubator.apache.org/mrunit/ > --047d7b15af7b40bfd904b97255c1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks! Also, is there some place that can help me setup eclipse for m= ap reduce and pig udf? Is there a maven for that too?
=A0
Thanks

On Mon, Feb 20, 2012 at 6:20 PM, Brock Noland <brock@cloudera.co= m> wrote:
Hi,

On Mon, Feb 20, 2012 at 6:03 PM, Mohit Anchlia <mohitanchlia@gmail.com> wrot= e:
> Could someone give me some directions or examples of writing map= reduce and
> unit tests to test them?

There is an apache project for t= his called MRUnit:
http://cwiki.apache.org/confluence/display/MRUNI= T

Example: https://cwiki.apache.org/confluence/d= isplay/MRUNIT/Testing+Word+Count

Brock

--
Apache MRUnit - Unit testing MapReduce - http://incubator.apache.org/mrunit/

--047d7b15af7b40bfd904b97255c1--