Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37CC510DD1 for ; Mon, 20 Jan 2014 01:13:41 +0000 (UTC) Received: (qmail 91835 invoked by uid 500); 20 Jan 2014 01:13:31 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 91753 invoked by uid 500); 20 Jan 2014 01:13:31 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 91746 invoked by uid 99); 20 Jan 2014 01:13:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 01:13:31 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chandler605@gmail.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Jan 2014 01:13:25 +0000 Received: by mail-ob0-f179.google.com with SMTP id wo20so2235787obc.24 for ; Sun, 19 Jan 2014 17:13:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=/3GvOoQYPofLvSp8AkZr7eJ3gnVFOC7sPjOcFSPmHXM=; b=RlPNei1GQ9LXKgZkuSpJzeKCY16gE+Hv+69D86S50fCojqcq7Di2WM30VHjMVIgeAv 2ziHbhpGybBQizKUrS4Enyop9fkexIO9ll+V4G2wrlePdz/a8UYORrCwdUOXQSOEOnjo WON+1pgVIFXapxukdna0cl6ARdfGterBtVZIQdZQ6clu3DKpwmnLX4FNNeQpUqmswVI3 SVafztbVmy8xn2ymHdYD9xkm1Le2103ATkZyaOZbEMUQnUcIFNmI9Da8+jwiuQJjYxmd M9Znl/fSXo+RPbtu9H3dXA3sqwfxD+l1bHDFQk2Df84cwjQug5aiJhB+uO52VX9lE140 z0Nw== X-Received: by 10.182.81.197 with SMTP id c5mr4317837oby.40.1390180384896; Sun, 19 Jan 2014 17:13:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.70.168 with HTTP; Sun, 19 Jan 2014 17:12:43 -0800 (PST) In-Reply-To: <1FA17218-CD33-467C-A17E-36D61AEF6566@gmail.com> References: <1FA17218-CD33-467C-A17E-36D61AEF6566@gmail.com> From: chandler song Date: Mon, 20 Jan 2014 09:12:43 +0800 Message-ID: Subject: Re: Question about Yarn To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7b2e4d5803fdc804f05c988a X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e4d5803fdc804f05c988a Content-Type: text/plain; charset=ISO-8859-1 http://hadoop.apache.org/docs/r2.2.0/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html this one, 2014/1/19 Marco Shaw > Can you clarify? > > What tutorial and specific sections are you referring to? > > Marco > > > On Jan 19, 2014, at 9:26 AM, chandler song > wrote: > > > > hi all > > > > I have some question about yarn when I read the tutorial on the > website. > > > > 1) the contain is physical or logic? for example, there are three > PCs(A,B,C) on Cluster. if I allocate one container. it will run on one PC > all the time. or the container will work on different PC at different time. > > > > 2) the contain, I can think it's a virtual PC which can run java > application? is my correct? > > > > 3)about mapreduce, how mapreduce run on yarn? after reading the > tutorial, I think yarn and mapreduce is totally different thing. I think > the basic unit of yarn is container. map and reduce's basic unit is map and > reduce. > > > > or how yarn handle concurrent? I know in mapreduce, I don't need to > think too much about concurrent. because mapreduce will do this for you. it > will split data into a small unit and you can do what you do. but I don't > find yarn has same thing. > > > --047d7b2e4d5803fdc804f05c988a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


2014/1/19 Marco Shaw <marco.shaw@gmail.com>
Can you clarify?

What tutorial and specific sections are you referring to?

Marco

> On Jan 19, 2014, at 9:26 AM, chandler song <chandler605@gmail.com> wrote:
>
> hi all
>
> =A0 I have some question about yarn when I read the tutorial on the we= bsite.
>
> =A01) the contain is physical or logic? for example, there are three P= Cs(A,B,C) on Cluster. =A0if I allocate one container. it will run on one PC= all the time. or the container will work on different PC at different time= .
>
> 2) the contain, I can think it's a virtual PC which can run java a= pplication? is my correct?
>
> 3)about mapreduce, how mapreduce run on yarn? after reading the tutori= al, I think yarn and mapreduce is totally different thing. I think the basi= c unit of yarn is container. map and reduce's basic unit is map and red= uce.
>
> or how yarn handle concurrent? I know in mapreduce, I don't need t= o think too much about concurrent. because mapreduce will do this for you. = it will split data into a small unit and you can do what you do. but I don&= #39;t find yarn has same thing.
>

--047d7b2e4d5803fdc804f05c988a--