Return-Path: X-Original-To: apmail-crunch-user-archive@www.apache.org Delivered-To: apmail-crunch-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 3F7CD10188 for ; Thu, 8 Aug 2013 12:57:23 +0000 (UTC) Received: (qmail 64989 invoked by uid 500); 8 Aug 2013 12:57:23 -0000 Delivered-To: apmail-crunch-user-archive@crunch.apache.org Received: (qmail 64880 invoked by uid 500); 8 Aug 2013 12:57:18 -0000 Mailing-List: contact user-help@crunch.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@crunch.apache.org Delivered-To: mailing list user@crunch.apache.org Received: (qmail 64872 invoked by uid 99); 8 Aug 2013 12:57:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 12:57:17 +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 jwills@cloudera.com designates 209.85.216.170 as permitted sender) Received: from [209.85.216.170] (HELO mail-qc0-f170.google.com) (209.85.216.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 12:57:13 +0000 Received: by mail-qc0-f170.google.com with SMTP id d10so1546105qcz.1 for ; Thu, 08 Aug 2013 05:56:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=2MHAvwxEzIZJtLJw7FswVkLI6u3Djx7bNu+dSmeil0k=; b=Be+n0+EfF4+U7rnlfguu8hkMb3Z7/W3Pay7WfvC6KuWpzRFinlf63/cyA2xOphXYZl uEnr0Ir1QJ7qfttxmPvRWuPvnfnG6jZhJaYiN+DoWN+7XLn1adYw2txL6D0KuYiJSbb5 V2kAt/3JZUD/1lspv7IQYpcvgnThsZLWjMYUbKqkd8SlCpL+5IhjP0L/+bsVOMFEKNp7 YncnXK6hl/YMweEfvzj4k89Dd6M92tdLIV8fkkYvweMxR5OqWuefUz73OnFX4Y68jflr r44kfe7ssvHUj0S4oi64+adW98BQDnrtzSESREecSzuJCZqYzpno+Nv7jF9Rim7sNgTC eY+g== X-Gm-Message-State: ALoCoQkUN2PURBOvyY8fftbShKo6NMhLKu7vDRw32pe8z1DLqEOpe1cSE1GVLNLHvr1kx8F68st7 X-Received: by 10.229.165.79 with SMTP id h15mr1337129qcy.77.1375966612863; Thu, 08 Aug 2013 05:56:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.87.131 with HTTP; Thu, 8 Aug 2013 05:56:32 -0700 (PDT) In-Reply-To: References: From: Josh Wills Date: Thu, 8 Aug 2013 05:56:32 -0700 Message-ID: Subject: Re: Crunch Errors while running jobs on YARN To: user@crunch.apache.org Content-Type: multipart/alternative; boundary=14dae9c09bf42eccf404e36f3137 X-Virus-Checked: Checked by ClamAV on apache.org --14dae9c09bf42eccf404e36f3137 Content-Type: text/plain; charset=ISO-8859-1 Hey Matt, It looks like this is the problem: https://issues.apache.org/jira/browse/MAPREDUCE-4442 Is it causing the job to fail? We could add a similar workaround to the one described in the JIRA. J On Wed, Aug 7, 2013 at 5:37 PM, Matt Christiansen wrote: > Hey guys, im getting this error while running a crunch job on our YARN > cluster. It doesn't seem to be serious buts generating a lot of QA > questions: > > > ERROR exec.MRExecutor: Exception thrown fetching job counters for > stage: com.rr.crunch.ads.KeyValuePairsAggregator: > > Avro(/QA/event_logs/2013_08_07/pixel_tracking)+S0+pre-distinct+GBK+post-distinct+S1+SeqFile(/tmp/crunch-1725623982/p1) > java.io.IOException > at > org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientServiceDelegate.java:317) > at > org.apache.hadoop.mapred.ClientServiceDelegate.getJobCounters(ClientServiceDelegate.java:337) > at > org.apache.hadoop.mapred.YARNRunner.getJobCounters(YARNRunner.java:476) > at org.apache.hadoop.mapreduce.Job$8.run(Job.java:757) > at org.apache.hadoop.mapreduce.Job$8.run(Job.java:754) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408) > at org.apache.hadoop.mapreduce.Job.getCounters(Job.java:754) > at > org.apache.crunch.impl.mr.exec.MRExecutor.execute(MRExecutor.java:69) > at org.apache.crunch.impl.mr.MRPipeline.run(MRPipeline.java:153) > at > com.rr.crunch.ads.KeyValuePairsAggregator.process(KeyValuePairsAggregator.java:79) > at > com.rr.crunch.ads.KeyValuePairsAggregator.main(KeyValuePairsAggregator.java:63) > > This is with crunch 0.5.0 but I have tried 0.7.0 and get the same > general error (no message about it being job counters but same strack > trace and in the code its at the job.getJob().getCounters() part) I > have tried both the hadoop-1 and hadoop-2 jars; I was wondering if any > one had come acrossed this before or had any idea > -- Director of Data Science Cloudera Twitter: @josh_wills --14dae9c09bf42eccf404e36f3137 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hey Matt,

It looks like this is the pro= blem:=A0ht= tps://issues.apache.org/jira/browse/MAPREDUCE-4442

=
Is it causing the job to fail? We could add a similar workaround to the one= described in the JIRA.

J


On Wed, Aug 7, 2013 at 5:3= 7 PM, Matt Christiansen <admin@nikore.net> wrote:
Hey guys, im getting this error while runnin= g a crunch job on our YARN
cluster. It doesn't seem to be serious buts generating a lot of QA
questions:


ERROR exec.MRExecutor: Exception thrown fetching job counters for
stage: com.rr.crunch.ads.KeyValuePairsAggregator:
Avro(/QA/event_logs/2013_08_07/pixel_tracking)+S0+pre-distinct+GBK+post-dis= tinct+S1+SeqFile(/tmp/crunch-1725623982/p1)
java.io.IOException
=A0 =A0 =A0at org.apache.hadoop.mapred.ClientServiceDelegate.invoke(ClientS= erviceDelegate.java:317)
=A0 =A0 =A0at org.apache.hadoop.mapred.ClientServiceDelegate.getJobCounters= (ClientServiceDelegate.java:337)
=A0 =A0 =A0at org.apache.hadoop.mapred.YARNRunner.getJobCounters(YARNRunner= .java:476)
=A0 =A0 =A0at org.apache.hadoop.mapreduce.Job$8.run(Job.java:757)
=A0 =A0 =A0at org.apache.hadoop.mapreduce.Job$8.run(Job.java:754)
=A0 =A0 =A0at java.security.AccessController.doPrivileged(Native Method) =A0 =A0 =A0at javax.security.auth.Subject.doAs(Subject.java:415)
=A0 =A0 =A0at org.apache.hadoop.security.UserGroupInformation.doAs(UserGrou= pInformation.java:1408)
=A0 =A0 =A0at org.apache.hadoop.mapreduce.Job.getCounters(Job.java:754)
=A0 =A0 =A0at org.apache.crunch.impl.mr.exec.MRExecutor.execute(MRExecutor.= java:69)
=A0 =A0 =A0at org.apache.crunch.impl.mr.MRPipeline.run(MRPipeline.java:153)=
=A0 =A0 =A0at com.rr.crunch.ads.KeyValuePairsAggregator.process(KeyValuePai= rsAggregator.java:79)
=A0 =A0 =A0at com.rr.crunch.ads.KeyValuePairsAggregator.main(KeyValuePairsA= ggregator.java:63)

This is with crunch 0.5.0 but I have tried 0.7.0 and get the same
general error (no message about it being job counters but same strack
trace and in the code its at the job.getJob().getCounters() part) I
have tried both the hadoop-1 and hadoop-2 jars; I was wondering if any
one had come acrossed this before or had any idea



--
Directo= r of Data Science
Twitter: @josh_wills
--14dae9c09bf42eccf404e36f3137--