Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 21139 invoked from network); 5 May 2008 21:07:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 21:07:40 -0000 Received: (qmail 34127 invoked by uid 500); 5 May 2008 21:07:40 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 34112 invoked by uid 500); 5 May 2008 21:07:40 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 34101 invoked by uid 99); 5 May 2008 21:07:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 14:07:40 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christophe.taton@gmail.com designates 209.85.162.180 as permitted sender) Received: from [209.85.162.180] (HELO el-out-1112.google.com) (209.85.162.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 21:06:55 +0000 Received: by el-out-1112.google.com with SMTP id m34so1246441ele.9 for ; Mon, 05 May 2008 14:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=DpO30NUBVYh6w61OD6yv7Dzj4LilcNXA7UamPAsPBAE=; b=Y4BbZnMmir8+E92Kx2yvPLzPjVWzoptj7GDZETNIKfXsc8d6fR9f3AM7xXIcm44iAAqeqH5wSoOwwP3V0XovlQdjALuEpwCmzv//LUvx8HHPCDX0GMwDcifszRYy5VTkDYw+DckLYPJywLG+Ij6mt7oR6JK2RGNEDCq5PXmEP70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=uBnBQr3s0qdp0hFkEpa33HS2nBleaFyhgOPQDxPNboz1fwnBE9YasPcRBJcZEuoMvVVTD4vtkLJs2w1k/uiY6fmTFgpPePf7pV8BhD+nYLQwPBt7bo/L8MyGDzoQ+BK6dMhbOBK+cDcJtdAi3Ifbzb8x5QCXFR32j97/tJNsL7w= Received: by 10.142.255.14 with SMTP id c14mr2696905wfi.296.1210021628566; Mon, 05 May 2008 14:07:08 -0700 (PDT) Received: by 10.142.133.12 with HTTP; Mon, 5 May 2008 14:07:08 -0700 (PDT) Message-ID: <3ea1b3240805051407x6733ffecj30ac6be8df6fbaf@mail.gmail.com> Date: Mon, 5 May 2008 23:07:08 +0200 From: "Christophe Taton" Sender: christophe.taton@gmail.com To: core-dev@hadoop.apache.org Subject: Re: Hadoop and VMware In-Reply-To: <96d3bba10805051403k2a84d896j8180eb91eacd1c42@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5101_18620668.1210021628563" References: <96d3bba10805051233r2ee7eb14g1c0bf579b92ba418@mail.gmail.com> <3ea1b3240805051241v4ef4d387nb896ad307fe55875@mail.gmail.com> <96d3bba10805051249y5427a843g59a9054bbc88e42e@mail.gmail.com> <96d3bba10805051301o48d66755ua1b49948949f8937@mail.gmail.com> <96d3bba10805051403k2a84d896j8180eb91eacd1c42@mail.gmail.com> X-Google-Sender-Auth: 23e1fa8fb5228b78 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5101_18620668.1210021628563 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline You should have a look at bin/rcc and bin/hadoop scripts. They contain a '-Xmx1000m' default JVM parameter. Also you need to tweak hadoop-site.xml to set an appropriate -Xmx option too for the task JVMs. Cheers, Christophe On Mon, May 5, 2008 at 11:03 PM, Ahmad Humayun wrote: > Thanks Christophe :) Hadoop is running fine now :) > > does anyone know how to reduce this heap requirement....is such a large > heap > size being imposed by Hadoop itself? Do I need to set the jvm by using > -Xms > settings....anyone knows how to do that? > > > Thanks again to everyone helping out on the mailing list ....all of you > are > doing a great job :) > > Regards, > > On Tue, May 6, 2008 at 1:01 AM, Ahmad Humayun > wrote: > > > Just tried with 512 MB and 1 GB....and guess what .... it started > > (finally!!) working at a GB. > > > > Is there a way to lower this requirement?.....I'll also just try to hone > > in into the min. amount of RAM needed. > > > > I really can't afford using a GB of RAM for my VM....I will soon run out > > of juice that way :( > > > > > > Regards, > > > > > > On Tue, May 6, 2008 at 12:49 AM, Ahmad Humayun > > wrote: > > > > > Well my VM is allocated 256 MB.....I'll just increase it and report > back > > > > > > Plus I have just tried HelloWorld programs....and since they hardly > have > > > any memory usage, they work. > > > > > > > > > Regards, > > > > > > > > > On Tue, May 6, 2008 at 12:41 AM, Christophe Taton > > > wrote: > > > > > > > Hi Ahmad, > > > > > > > > As the error message suggests it, your issue is likely to be related > > > > to the > > > > amount of memory available: > > > > Error occurred during initialization of VM > > > > Could not reserve enough space for object heap > > > > > > > > How much memory did you allocate to your VM? Can you run any other > > > > Java > > > > applications in your JVM? > > > > > > > > Christophe > > > > > > > > On Mon, May 5, 2008 at 9:33 PM, Ahmad Humayun > > > > > wrote: > > > > > > > > > Hi there, > > > > > > > > > > Has anybody tried running Hadoop on VMware (6.0). I have installed > > > > open > > > > > SUSE > > > > > 10.2 as a guest OS....and I have been trying to get Hadoop > started, > > > > but > > > > > whatever I do with bin/hadoop, I keep getting this error: > > > > > *Error occurred during initialization of VM > > > > > Could not reserve enough space for object heap > > > > > Could not create the Java virtual machine.* > > > > > > > > > > Any ideas? Is it a problem with VMware? Or maybe my java > environment > > > > > setup? > > > > > Or I'm simply doing something wrong in setting up Hadoop? > > > > > > > > > > Thanks again! > > > > > > > > > > Regards, > > > > > -- > > > > > Ahmad Humayun > > > > > Research Assistant > > > > > Computer Science Dpt., LUMS > > > > > +92 321 4457315 > > > > > > > > > > > > > > > > > > > > > -- > > > Ahmad Humayun > > > Research Assistant > > > Computer Science Dpt., LUMS > > > +92 321 4457315 > > > > > > > > > > > -- > > Ahmad Humayun > > Research Assistant > > Computer Science Dpt., LUMS > > +92 321 4457315 > > > > > > -- > Ahmad Humayun > Research Assistant > Computer Science Dpt., LUMS > +92 321 4457315 > ------=_Part_5101_18620668.1210021628563--