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 88CB99839 for ; Thu, 12 Apr 2012 13:24:51 +0000 (UTC) Received: (qmail 56643 invoked by uid 500); 12 Apr 2012 13:24:50 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 56588 invoked by uid 500); 12 Apr 2012 13:24:49 -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 56578 invoked by uid 99); 12 Apr 2012 13:24:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 13:24:49 +0000 X-ASF-Spam-Status: No, hits=1.1 required=5.0 tests=NO_RDNS_DOTCOM_HELO,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 98.139.253.105 is neither permitted nor denied by domain of tgraves@yahoo-inc.com) Received: from [98.139.253.105] (HELO mrout2-b.corp.bf1.yahoo.com) (98.139.253.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Apr 2012 13:24:43 +0000 Received: from SP1-EX07CAS02.ds.corp.yahoo.com (sp1-ex07cas02.ds.corp.yahoo.com [216.252.116.138]) by mrout2-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q3CDO3Q1078116; Thu, 12 Apr 2012 06:24:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1334237043; bh=b1Kf2kzgmr6212Xhp031TKpHAKzJgsJAaBesFNgd2lo=; h=From:To:Date:Subject:Message-ID:In-Reply-To:Content-Type: Content-Transfer-Encoding:MIME-Version; b=qlSrUa4NO3yakySghG+Hy24Cf7y/uzlc9G/EW/Qfv50WonkkYpBnN5YwlDDCemExL VtNdrZRxjINW0/rtXoZSefBgO1XfVgMBgCkcyH7NpKgVPNh8U3CUIEqMkzHaoSS17x Bp8159Srq914Z+K5zwFFhc/00CEjCgEEz9AuRxng= Received: from SP1-EX07VS01.ds.corp.yahoo.com ([216.252.116.135]) by SP1-EX07CAS02.ds.corp.yahoo.com ([216.252.116.167]) with mapi; Thu, 12 Apr 2012 06:24:02 -0700 From: Thomas Graves To: "mapreduce-user@hadoop.apache.org" , Dominik Wiernicki Date: Thu, 12 Apr 2012 06:23:51 -0700 Subject: Re: MapReduce with ResourceManager Thread-Topic: MapReduce with ResourceManager Thread-Index: Ac0Yi8lblDOKfY+UQ129xTxn4YPlUwAI7auK Message-ID: In-Reply-To: <4F869B41.4010208@touk.pl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-Entourage/13.9.0.110114 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org If you have a 23 or 2.0 cluster all setup, yes it comes with mapreduce application master and you run mapreduce very similar to how you did before on 1.X. Have you run mapreduce before on older versions of Hadoop? The queue can be specified the same way with "-Dmapred.job.queue.name=3Ddefault". You can run the wordcount example like - where input is file you put into your /user directory in hdfs and output is the output directory of the wordcount. hadoop jar hadoop-mapreduce-examples.jar wordcount -Dmapred.job.queue.name=3Ddefault input output You use the "mapred" command to check on job status - mapred job -list I don't think the 2.x docs are all the way there so you might also checkout the mapreduce tutorial for hadoop1.x: http://hadoop.apache.org/common/docs/r1.0.2/mapred_tutorial.html The 2.x/0.23 docs: http://hadoop.apache.org/common/docs/r0.23.1/ Tom On 4/12/12 4:07 AM, "Dominik Wiernicki" wrote: > W dniu 12.04.2012 09:17, Dominik Wiernicki pisze: >> Hi, >>=20 >> I want to run MapReduce job using ResourceManager. If I understood well >> i need to create ApplicationMaster and Client for this purpose? >>=20 >> I was trying to read Distributed Shell example but it looks too complex >> and complicated. And it doesn't explains how to run MapReduce job. >>=20 >> Also IMO writing AplicationMaster is too low level - it should be easy >> to create simple applications. >>=20 >> Is there any easy way to run MapReduce job as a certain user, using >> specified queueue? >>=20 >> Greetings, >> Dominik >>=20 >>=20 > I had wrong understending of ApplicationMaster, so i am changing my > question. >=20 > I asume there is somewhere ApplicationMaster for running MapReduce Jobs, > but i can't find it in documentation. >=20 > How to run MapReduce Job to specified queue (as specified user)? > How to run DAG of Jobs? >=20 > Greetings, > Dominik >=20