Return-Path: Delivered-To: apmail-hadoop-core-user-archive@www.apache.org Received: (qmail 53249 invoked from network); 9 Oct 2008 09:08:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Oct 2008 09:08:26 -0000 Received: (qmail 4197 invoked by uid 500); 9 Oct 2008 09:08:20 -0000 Delivered-To: apmail-hadoop-core-user-archive@hadoop.apache.org Received: (qmail 4150 invoked by uid 500); 9 Oct 2008 09:08:20 -0000 Mailing-List: contact core-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-user@hadoop.apache.org Delivered-To: mailing list core-user@hadoop.apache.org Received: (qmail 4135 invoked by uid 99); 9 Oct 2008 09:08:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 02:08:20 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_SECURITYSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.142.186] (HELO ti-out-0910.google.com) (209.85.142.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2008 09:07:13 +0000 Received: by ti-out-0910.google.com with SMTP id d27so5185933tid.9 for ; Thu, 09 Oct 2008 02:07:29 -0700 (PDT) Received: by 10.110.37.3 with SMTP id k3mr10548216tik.13.1223543248841; Thu, 09 Oct 2008 02:07:28 -0700 (PDT) Received: by 10.110.62.6 with HTTP; Thu, 9 Oct 2008 02:07:28 -0700 (PDT) Message-ID: Date: Thu, 9 Oct 2008 18:07:28 +0900 From: "Edward J. Yoon" Sender: edward@udanax.org To: core-user@hadoop.apache.org Subject: Re: Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory In-Reply-To: <11975c90810090049n33b736b4g789dfb0b702351b8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11975c90810090049n33b736b4g789dfb0b702351b8@mail.gmail.com> X-Google-Sender-Auth: 66eb3579863d2e3e X-Virus-Checked: Checked by ClamAV on apache.org Thanks Alexander!! On Thu, Oct 9, 2008 at 4:49 PM, Alexander Aristov wrote: > I received such errors when I overloaded data nodes. You may increase swap > space or run less tasks. > > Alexander > > 2008/10/9 Edward J. Yoon > >> Hi, >> >> I received below message. Can anyone explain this? >> >> 08/10/09 11:53:33 INFO mapred.JobClient: Task Id : >> task_200810081842_0004_m_000000_0, Status : FAILED >> java.io.IOException: Cannot run program "bash": java.io.IOException: >> error=12, Cannot allocate memory >> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) >> at org.apache.hadoop.util.Shell.runCommand(Shell.java:149) >> at org.apache.hadoop.util.Shell.run(Shell.java:134) >> at org.apache.hadoop.fs.DF.getAvailable(DF.java:73) >> at >> org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathForWrite(LocalDirAllocator.java:296) >> at >> org.apache.hadoop.fs.LocalDirAllocator.getLocalPathForWrite(LocalDirAllocator.java:124) >> at >> org.apache.hadoop.mapred.MapOutputFile.getSpillFileForWrite(MapOutputFile.java:107) >> at >> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:734) >> at >> org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:694) >> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:220) >> at >> org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2124) >> Caused by: java.io.IOException: java.io.IOException: error=12, Cannot >> allocate memory >> at java.lang.UNIXProcess.(UNIXProcess.java:148) >> at java.lang.ProcessImpl.start(ProcessImpl.java:65) >> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) >> ... 10 more >> >> -- >> Best regards, Edward J. Yoon >> edwardyoon@apache.org >> http://blog.udanax.org >> > > > > -- > Best Regards > Alexander Aristov > -- Best regards, Edward J. Yoon edwardyoon@apache.org http://blog.udanax.org