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 4A18510431 for ; Wed, 18 Dec 2013 20:48:53 +0000 (UTC) Received: (qmail 6569 invoked by uid 500); 18 Dec 2013 20:48:48 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 6373 invoked by uid 500); 18 Dec 2013 20:48:48 -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 6366 invoked by uid 99); 18 Dec 2013 20:48:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Dec 2013 20:48:48 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [98.138.120.52] (HELO nm45.bullet.mail.ne1.yahoo.com) (98.138.120.52) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 18 Dec 2013 20:48:42 +0000 Received: from [127.0.0.1] by nm45.bullet.mail.ne1.yahoo.com with NNFMP; 18 Dec 2013 20:48:20 -0000 Received: from [98.138.100.117] by nm45.bullet.mail.ne1.yahoo.com with NNFMP; 18 Dec 2013 20:45:38 -0000 Received: from [98.138.88.232] by tm108.bullet.mail.ne1.yahoo.com with NNFMP; 18 Dec 2013 20:45:38 -0000 Received: from [127.0.0.1] by omp1032.mail.ne1.yahoo.com with NNFMP; 18 Dec 2013 20:45:38 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 414647.80052.bm@omp1032.mail.ne1.yahoo.com Received: (qmail 59014 invoked by uid 60001); 18 Dec 2013 20:45:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1387399538; bh=bhMLaxLKzmoT7AKbcooNpYzte/CibPh1FXYsfj431PU=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=6f8asPWYCRAO+b6IE5RpaWlzXLSjHl1ex3RX9BlJbq5dIR3JqdpiVZ+AC03c+zuIqfgGhTLAaLpLl6TJrgAbXFv0vugru2U33Mb3OEl1s/mvEzVKpmAeBBKJ2fEVKXXj/wezUUpOMj8sxPxDGUdhnHaF0L0zlrgmXZswFSia/xc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=DNpKh8PldrxrQ2+eEmCpuIsgIFcMbPhrfym739N5BC2NIOgShXw+/7TaRiUnGzoH/teXkIOqtd8E8/JGmly5Hquw2ZnZe2xUjrk23TxtFG3IlPSVNEplz5LRojvpOV6ZI/oniIdSoqe5uGc6e51mv2t967u9E1DzBcjvQJ7UiEo=; X-YMail-OSG: W3cc_jEVM1kHVIyPzRkCYzSup0p4N.bfgpTX3xyShYlCvsM UtpzzgKFOPB3Nqc5PXbdlEYYvI5TavQ.Hs1_tUfvK1wS.vwM8sA59LBndWhv gxaygjnxYNoyQnmNl1vpzjnVYVA51RNvTRHtstXMm.hk51.k82DUa6wpEhPk m6KN5UXW.ZNOURQV0PULuEmJ4AviVmVRqU5TrOYCNkIlykSabCErr4BMAblE wW1zyl3nMpIprdN1UxJiD.VQUflh4TXnw_9.belXw.Eh9u8J2hwAkNNXJxQ8 5HoqowRJlOpXZuy.VhpU3Iemfaw_QRpQvkcbknVrsxOdCDAMTCLPSkMwF9o8 1Dlwi.aVXPOK7TlsWpVKcMsxgixpU74YoqykyATV4tbZk.0CzgQqwfIug9fR 3hXkgCyWlbuqflMyQA0v449SX5X4ZROC0p.YLPWAxRdE6FIqsW4DsN.Yeedd r79PbrGw7vpTBlfEYITv4dDqckHIr6BUH0DtniHwokIjbYv9IWPGaq7N_0LA z9XO9m6uQZibuFu733brDSVsw94kCcWvx7aMFBDvFc0eBKihm Received: from [128.84.227.180] by web121504.mail.ne1.yahoo.com via HTTP; Wed, 18 Dec 2013 12:45:38 PST X-Rocket-MIMEInfo: 002.001,SG93IGRvZXMgdGhlIFBJIGV4YW1wbGUgY2FuIGRldGVybWluZSB0aGUgbnVtYmVyIG9mIG1hcHBlcnM_CkkgdGhvdWdodCB0aGUgb25seSB3YXkgdG8gZGV0ZXJtaW5lIG51bWJlciBvZiBtYXBwZXJzIGlzIHZpYSB0aGUgYW1vdW50IG9mIGZpbGVzcGxpdHMgeW91IGhhdmUgaW4gdGhlIGlucHV0IGZpbGUuLi4KU28gZm9yIGluc3RhbmNlIGlmIHRoZSBpbnB1dCBzaXplIGlzIDEwME1CIGFuZCBmaWxlc3BsaXQgc2l6ZSBpcyAyME1CIHRoZW4gSSB3b3VsZCBleHBlY3QgdG8gaGF2ZSAxMDAvMjAgPSA1IG1hcCABMAEBAQE- X-Mailer: YahooMailWebService/0.8.170.612 Message-ID: <1387399538.26004.YahooMailNeo@web121504.mail.ne1.yahoo.com> Date: Wed, 18 Dec 2013 12:45:38 -0800 (PST) From: - Reply-To: - Subject: Hadoop Pi Example in Yarn To: "user@hadoop.apache.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1050781934-1690627098-1387399538=:26004" X-Virus-Checked: Checked by ClamAV on apache.org --1050781934-1690627098-1387399538=:26004 Content-Type: text/plain; charset=us-ascii How does the PI example can determine the number of mappers? I thought the only way to determine number of mappers is via the amount of filesplits you have in the input file... So for instance if the input size is 100MB and filesplit size is 20MB then I would expect to have 100/20 = 5 map tasks. Thanks --1050781934-1690627098-1387399538=:26004 Content-Type: text/html; charset=us-ascii
How does the PI example can determine the number of mappers?
I thought the only way to determine number of mappers is via the amount of filesplits you have in the input file...
So for instance if the input size is 100MB and filesplit size is 20MB then I would expect to have 100/20 = 5 map tasks.

Thanks

--1050781934-1690627098-1387399538=:26004--