Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 21D95D82A for ; Mon, 10 Dec 2012 18:50:33 +0000 (UTC) Received: (qmail 17833 invoked by uid 500); 10 Dec 2012 18:50:28 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 17726 invoked by uid 500); 10 Dec 2012 18:50:28 -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 17718 invoked by uid 99); 10 Dec 2012 18:50:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 18:50:27 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of vinodkv@hortonworks.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-da0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2012 18:50:21 +0000 Received: by mail-da0-f48.google.com with SMTP id k18so1312848dae.35 for ; Mon, 10 Dec 2012 10:50:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer:x-gm-message-state; bh=/Czb4uBE63F/CwM3oFn/qsn5kFtMW6jQ96+gvOycs0s=; b=BnZ/pbsw51PxZUrB+F3rHc+DJ7174D5jHtEY01jJVPWI0zEM2Afak5DM/R8sTBENIT pf6cFXBy0T9VTmp8LCqkoBen5A0TsH3CEcVwe24jtZGnysi5eq7Wk8umRDIr5IlyZPbK jUHFPQBJV1AGZtgb4u88ePjxKLq7A9GYkwtbcDIWcs4dzyKwW4oqUKCtX5qZLdD+atxh OFDItqCm+kOGqu3GQkF2PtDC2bi4kEVqUw0pBQjj4zAj8R2+t/EWCakBcdbqdWFYQj8J CbuOcNI1KXzrdP8ZhvtiwYnsT06c+eE0LTGqAzLm2Upypxe7dcFpCO73rG0f4R46dBAC Lm6g== Received: by 10.68.190.38 with SMTP id gn6mr41903911pbc.6.1355165400644; Mon, 10 Dec 2012 10:50:00 -0800 (PST) Received: from [10.10.8.31] (host1.hortonworks.com. [70.35.59.2]) by mx.google.com with ESMTPS id s5sm8719045pay.31.2012.12.10.10.49.55 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 10:49:56 -0800 (PST) From: Vinod Kumar Vavilapalli Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_F5C2228F-011A-488B-A6B4-18D116401754"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: "attempt*" directories in user logs Date: Mon, 10 Dec 2012 10:49:49 -0800 In-Reply-To: <1DD6A29F-062E-4E40-BAF4-964BFDDC2E71@gmail.com> To: user@hadoop.apache.org References: <343176F5-0EF6-4C64-A4EB-7C0B5ADF4670@gmail.com> <1DD6A29F-062E-4E40-BAF4-964BFDDC2E71@gmail.com> Message-Id: <244C4BD5-E0C4-421C-8B19-9D32CB4CDB85@apache.org> X-Mailer: Apple Mail (2.1278) X-Gm-Message-State: ALoCoQmyPY7jIwI+TlBmEUZoqYqQkxY2Fq4jWxFji84LzTgM8aItgJrA0xfgB3OL/Q/mn9fO9hNq X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_F5C2228F-011A-488B-A6B4-18D116401754 Content-Type: multipart/alternative; boundary="Apple-Mail=_74798E79-97B0-41A8-9CD0-467200232402" --Apple-Mail=_74798E79-97B0-41A8-9CD0-467200232402 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 MR launches multiple attempts for single Task in case of TaskAttempt = failures or when speculative execution is turned on. In either case, a = given Task will only ever have one successful TaskAttempt whose output = will be accepted (committed). Number of reduces is set to 1 by default in mapred-default.xml - you = should explicitly set it to zero if you don't want reducers. By master, I suppose you mean JobTracker. JobTracker doesn't show all = the attempts for a given Task, you should navigate to per-task page to = see that. Thanks, +Vinod Kumar Vavilapalli Hortonworks Inc. http://hortonworks.com/ On Dec 9, 2012, at 6:53 AM, Oleg Zhurakousky wrote: > I studying user logs on the two node cluster that I have setup and I = was wondering if anyone can shed some light on these "attempt*' = directories >> $ ls > attempt_201212051224_0021_m_000000_0 = attempt_201212051224_0021_m_000003_0 job-acls.xml > attempt_201212051224_0021_m_000002_0 = attempt_201212051224_0021_r_000000_0 >=20 > I mean its obvious that its talking about 3 attempts for Map task and = 1 attempt for reduce task. However my current MR job only results in = some output written to "attempt_201212051224_0021_m_000000_0". Nothing = is the reduce part (understandably since I don't even have a reducer, so = my question is: >=20 > 1. The two more M attempts. . . what are they? > 2. Why was there an attempt to do a Reduce when no reducer was = provided.implemented > 3. Why my master node only had 1 attempt for M task but the slave had = all that's displayed and questioned above (the 'ls' output above is from = the slave node) >=20 > Thanks > Oleg --Apple-Mail=_74798E79-97B0-41A8-9CD0-467200232402 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
Thanks,
+Vinod Kumar = Vavilapalli
Hortonworks Inc.
http://hortonworks.com/

On Dec 9, 2012, at 6:53 AM, Oleg Zhurakousky = wrote:

I studying user logs on the two node cluster that I = have setup and I was wondering if anyone can shed some light on these = "attempt*' directories
$ = ls
attempt_201212051224_0021_m_000000_0 =  attempt_201212051224_0021_m_000003_0 =  job-acls.xml
attempt_201212051224_0021_m_000002_0 =  attempt_201212051224_0021_r_000000_0

I mean its obvious = that its talking about 3 attempts for Map task and 1 attempt for reduce = task. However my current MR job only results in some output written to = "attempt_201212051224_0021_m_000000_0". Nothing is the reduce part = (understandably since I don't even have a reducer, so my question = is:

1. The two more M attempts. . . what are they?
2. Why was = there an attempt to do a Reduce when no reducer was = provided.implemented
3. Why my master node only had 1 attempt for M = task but the slave had all that's displayed and questioned above (the = 'ls' output above is from the slave = node)

Thanks
Oleg

= --Apple-Mail=_74798E79-97B0-41A8-9CD0-467200232402-- --Apple-Mail=_F5C2228F-011A-488B-A6B4-18D116401754 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQEcBAEBAgAGBQJQxi7NAAoJECVa31bDbF8PmyYH/3zpwxZaSkUfuU3T/D7FiiT+ nIYt2mskm+AP3MvM1ECNWMP2GEnpvbnRXVxa1E5ZPWVN4BppT+GSB72qoE9Xgsf5 S+Mj9YHBG3/qo19Ltk3q//iydF6LLI2z/90npLaOu7Ya2td7N1Y3E+0SMdQ7HlRs MX4Afiuz9V5T25dfPuUGAsx2y5fuZFOBxdTsPr96rAogmCv+bs4MJB5jlQwmFHrb OrnwKWy8w2qtEYN/M5Co4FXu5zPPEQm0mO54jPq/5THIIHs+X2L0GjJpeNg/CNtg muqUdSbN5LCeepOPq8pmOG98HpVR2teq5WoBZPS2PcBxZtYgQhKiObtnXP7rJ4c= =0Y7R -----END PGP SIGNATURE----- --Apple-Mail=_F5C2228F-011A-488B-A6B4-18D116401754--