Search the web
Sign In
New User? Sign Up
bixo-dev · Bixo Web Mining Toolkit

Group Information

  • Members: 79
  • Category: Open Source
  • Founded: May 17, 2009
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
java.io.IOException: error=12, error=12, Cannot allocate memory   Message List  
Reply Message #801 of 916 |
Re: [bixo-dev] java.io.IOException: error=12, error=12, Cannot allocate memory

Hi Nino,

The problems below are related to running Hadoop, not Bixo.

Hadoop makes use of several shell commands, which initially request memory == the JVM size.

So if you don't have swap space allocated, or overcommit on, then you can run into problems where Java's exec() call fails due to not enough memory.

I would suggest first making sure you can run commands as described by the Quick Start guide on the Hadoop site:


-- Ken

On Oct 29, 2011, at 9:56pm, ninoapps wrote:

 

Hi,
I am new to Bixo / Hadoop / cascading , I am trying to learn and run bixo since one week ,
My initial try with windows did not work ,
So I installed linux .

I am trying to run SimpleCrawlTool on my linux ubuntu.
I am getting following error.

java.io.IOException: Cannot run program "bash": java.io.IOException: error=12, Cannot allocate memory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
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:329)
Caused by: java.io.IOException: java.io.IOException: error=12, Cannot allocate memory

I am using following command line arguments from eclipse
-domain cnn.com -outputdir /home/abc/work/scraping/bixo/output -agentname test -numloops 2
and -Xmx1024m as JVM argument.

I have also got same error but different command
can not run program "chmod" instead of "bash".

Thank you bixo group in advance.

-Nino


--------------------------
Ken Krugler
custom big data solutions & training
Hadoop, Cascading, Mahout & Solr





Sun Oct 30, 2011 7:46 am

kkrugler
Offline Offline
Send Email Send Email

Message #801 of 916 |
Expand Messages Author Sort by Date

Hi, I am new to Bixo / Hadoop / cascading , I am trying to learn and run bixo since one week , My initial try with windows did not work , So I installed linux...
ninoapps Offline Send Email Oct 29, 2011
8:56 pm

Hi Nino, The problems below are related to running Hadoop, not Bixo. Hadoop makes use of several shell commands, which initially request memory == the JVM...
Ken Krugler
kkrugler Offline Send Email
Oct 30, 2011
7:46 am

Hi Ken, Thank you for your feedback. I have solved my problem. I am sharing my experience if it becomes useful for someone else. MY issue got resolved once...
ninoapps Offline Send Email Nov 14, 2011
6:20 pm

... Excellent, thanks for sharing. -- Ken ... Ken Krugler http://www.scaleunlimited.com custom big data solutions & training Hadoop, Cascading, Mahout & Solr...
Ken Krugler
kkrugler Offline Send Email
Nov 14, 2011
9:26 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help