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 AE12410AC1 for ; Fri, 9 Aug 2013 18:56:57 +0000 (UTC) Received: (qmail 28275 invoked by uid 500); 9 Aug 2013 18:56:56 -0000 Delivered-To: apmail-crunch-user-archive@crunch.apache.org Received: (qmail 25880 invoked by uid 500); 9 Aug 2013 18:56:52 -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 25869 invoked by uid 99); 9 Aug 2013 18:56:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 18:56:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: unknown (nike.apache.org: error in processing during lookup of admin@nikore.net) Received: from [74.125.82.177] (HELO mail-we0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 18:56:45 +0000 Received: by mail-we0-f177.google.com with SMTP id m46so3821038wev.36 for ; Fri, 09 Aug 2013 11:56:24 -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=pYBsiYmwH1B3M1s6wF35j6ktcZ+CDekx/6etfsHEL6k=; b=O1tekqjtnfkKuCqZR7hPmhvZUhdxODqa5/PAw4LfJY3QAVIZCaYV3oQy3LMNbrqw+l 5pPAkLFIcBNw4UYTKTTkNSQxKfbSj8g4aDTvCxJiAtUH9Kp4QK71HSW+wCSSAbjOxVoc T4esWNq5Bf4KNtlgR8HDr9+EXxPMB4e51ty9sUWyhk48a8oXhx8Mcqa/zd9RKtuBXyBx CZ9LtDoeMjdpkC12FfuO4BJbOPJvdS8WQ+w6ZaDanVoPjv/uGQNXEnfMj9tXizuOsTuf qaJeeCx9x6mq49EUh7LaqNPEgEhJ6sMfxvyj9a0Lnmmh2gb9LBm/Z4GwrFwVP7VSZJuA WB/g== X-Gm-Message-State: ALoCoQkr11GNDhegKi0VeRtCpxMVr93FRlbub43cAgtlbdwYbogzuEhbJkax7YIr9Yh60vOOX+hm X-Received: by 10.194.19.228 with SMTP id i4mr1169404wje.87.1376074584375; Fri, 09 Aug 2013 11:56:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.56.69 with HTTP; Fri, 9 Aug 2013 11:56:03 -0700 (PDT) X-Originating-IP: [64.125.118.246] In-Reply-To: References: From: Matt Christiansen Date: Fri, 9 Aug 2013 11:56:03 -0700 Message-ID: Subject: Re: Crunch Errors while running jobs on YARN To: user@crunch.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org It seems like the job stops if I run it with hadoop jar but not if I run it with java -cp then again there could be something else im missing. It would be great if it could be fixed as I don't like random errors poping up in my jobs and nor will our QA. I'll try patching crunch with the ticket you listed above and see if that takes care of the issue. On Thu, Aug 8, 2013 at 5:56 AM, Josh Wills wrote: > 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