Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 59984 invoked from network); 23 Feb 2010 17:29:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2010 17:29:21 -0000 Received: (qmail 60002 invoked by uid 500); 23 Feb 2010 17:29:19 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 59943 invoked by uid 500); 23 Feb 2010 17:29:19 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 59933 invoked by uid 99); 23 Feb 2010 17:29:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 17:29:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.33] (HELO n63.bullet.mail.sp1.yahoo.com) (98.136.44.33) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 23 Feb 2010 17:29:09 +0000 Received: from [69.147.84.144] by n63.bullet.mail.sp1.yahoo.com with NNFMP; 23 Feb 2010 17:28:49 -0000 Received: from [98.136.44.169] by t6.bullet.mail.sp1.yahoo.com with NNFMP; 23 Feb 2010 17:28:48 -0000 Received: from [127.0.0.1] by omp610.mail.sp1.yahoo.com with NNFMP; 23 Feb 2010 17:28:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 972945.49032.bm@omp610.mail.sp1.yahoo.com Received: (qmail 70913 invoked by uid 60001); 23 Feb 2010 17:28:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1266946128; bh=tx3VkiWorvy2CLfwxIXv5mZSHhtIJDk/DcOQ9pGty5c=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=LifXtDO/Q6U2i9RqEwqrQpX9e3/QcZ3S9OW/PayBa8r+LYQ2DyafgeMXlJbhgahIsdEa2DlxpX0xWJX8naJ5RNkwNj+K6ypzWNIECcbVj/+tdioRXjen4d4CC5Dq99MtOpySaF8h7/XBXWrYpXDOE+KkFgO5M8Pu0jecsUDKTUE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=g0zOSdhyWoPvTa52Tq8nU5qMoP9wk3MhGtsRUNHZ4Ey/eLADtI7LFpJgijOHXOgkCLS5x5u4Vqrfs+i2WqStuoSC6wQD/Lx0Tu4iH4npfPR88dKMfVt2sCYRRMAN18AMAwDSVB8YAqetA0TZdOHtAWis1M5meWY05TYlUTZmqBg=; Message-ID: <825009.69756.qm@web45107.mail.sp1.yahoo.com> X-YMail-OSG: _mXxzYIVM1mbjocG5WxV.rJPH1kBJl7W52MSAcp5JAZA1a8zibsN9tNJG3TW_pI1XmLZhyrp9sfkq4cDpEvdwJtErDDE.1YTFnRhQSCewQPr0K2xDxIPVIsOIBPzXw9yOqs.DpDFAP4mKdS88AlVzfWdWhxgNcF3XyRuh.LQhOleQQjBJeqkpkqN0wlSY66c.zpaUzcbqhfQgRLDTO8KqBSgi4tULjJVmvYXoOONbL9gyFNj8G0odUBENlXzFKXk.6tIPLIdEqRFjla_dT3v2QrSXdkfn95uKdUPRDsA32GhzEGcLjj60SV8LOslduUg Received: from [71.6.110.222] by web45107.mail.sp1.yahoo.com via HTTP; Tue, 23 Feb 2010 09:28:48 PST X-Mailer: YahooMailClassic/9.2.12 YahooMailWebService/0.8.100.260964 Date: Tue, 23 Feb 2010 09:28:48 -0800 (PST) From: jiang licht Subject: Re: java.io.IOException: Spill failed when using w/ GzipCodec for Map output To: common-user@hadoop.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-24741262-1266946128=:69756" --0-24741262-1266946128=:69756 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, Amogh. Good to know :) =0AMichael --- On Tue, 2/23/10, Amogh Vasekar wrote: From: Amogh Vasekar Subject: Re: java.io.IOException: Spill failed when using w/ GzipCodec for = Map output To: "common-user@hadoop.apache.org" Date: Tuesday, February 23, 2010, 1:45 AM Hi, Certainly this might not cause the issue. But, "Hadoop native library is supported only on *nix platforms only. Unfortunat= ely it is known not to work on Cygwin=A0 =A0 and Mac OS X=A0=A0=A0and has m= ainly been used on the=A0 GNU/Linux platform." http://hadoop.apache.org/common/docs/current/native_libraries.html#Supporte= d+Platforms The mapper log would throw more light on this Amogh On 2/23/10 11:41 AM, "jiang licht" wrote: Thanks Amogh. The platform that I got this error is mac os x and hadoop 0.2= 0.1. All native library installed except lzo (which will report that codec = not found). But I didn't see this error when I ran the same thing w/o expre= ssion specified, in addition I also ran sth with the same expression settin= g on Fedora 8 and 0.19.1 without any problem. So, I think it might depends = on some other settings (wrt what spill is about). Thanks, Michael --- On Mon, 2/22/10, Amogh Vasekar wrote: From: Amogh Vasekar Subject: Re: java.io.IOException: Spill failed when using w/ GzipCodec for = Map output To: "common-user@hadoop.apache.org" Date: Monday, February 22, 2010, 11:27 PM Hi, Can you please let us know what platform you are running on your hadoop mac= hines? For gzip and lzo to work, you need supported hadoop native libraries ( I re= member reading on this somewhere in hadoop wiki :) ) Amogh On 2/23/10 8:16 AM, "jiang licht" wrote: I have a pig script. If I don't set any codec for Map output for hadoop clu= ster, no problem. Now I made the following compression settings, the job fa= iled and the error message is shown below. I guess there are some other set= tings that should be correctly set together with using the compression. Im = using 0.20.1. Any thoughts? Thanks for your help! mapred-site.xml =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 mapred.compress.map.output =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 true =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 mapred.map.output.compression.codec =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 org.apache.hadoop.io.compress.GzipCo= dec =A0 =A0 =A0 =A0 error message of failed map task---> java.io.IOException: Spill failed =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect= (MapTask.java:822) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask$OldOutputCollector.coll= ect(MapTask.java:466) =A0 =A0 =A0 =A0 at org.apache.pig.backend.hadoop.executionengine.mapReduceL= ayer.PigMapReduce$Map.collect(PigMapReduce.java:108) =A0 =A0 =A0 =A0 at org.apache.pig.backend.hadoop.executionengine.mapReduceL= ayer.PigMapBase.runPipeline(PigMapBase.java:251) =A0 =A0 =A0 =A0 at org.apache.pig.backend.hadoop.executionengine.mapReduceL= ayer.PigMapBase.map(PigMapBase.java:240) =A0 =A0 =A0 =A0 at org.apache.pig.backend.hadoop.executionengine.mapReduceL= ayer.PigMapReduce$Map.map(PigMapReduce.java:93) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50= ) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.ja= va:358) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:307) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.Child.main(Child.java:170) Caused by: java.lang.NullPointerException =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.IFile$Writer.(IFile.java:102) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAnd= Spill(MapTask.java:1198) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.access$= 1800(MapTask.java:648) =A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask$MapOutputBuffer$SpillTh= read.run(MapTask.java:1135) Thanks, Michael =0A=0A=0A --0-24741262-1266946128=:69756--