Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 591E59A5C for ; Mon, 9 Apr 2012 20:22:55 +0000 (UTC) Received: (qmail 12401 invoked by uid 500); 9 Apr 2012 20:22:50 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 12318 invoked by uid 500); 9 Apr 2012 20:22:50 -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 12278 invoked by uid 99); 9 Apr 2012 20:22:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2012 20:22:49 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [143.182.124.37] (HELO mga14.intel.com) (143.182.124.37) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Apr 2012 20:22:44 +0000 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga102.ch.intel.com with ESMTP; 09 Apr 2012 13:22:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="128852402" Received: from orsmsx605.amr.corp.intel.com ([10.22.226.10]) by azsmga001.ch.intel.com with ESMTP; 09 Apr 2012 13:22:21 -0700 Received: from orsmsx151.amr.corp.intel.com (10.22.226.38) by orsmsx605.amr.corp.intel.com (10.22.226.10) with Microsoft SMTP Server (TLS) id 8.2.255.0; Mon, 9 Apr 2012 13:22:21 -0700 Received: from orsmsx103.amr.corp.intel.com ([169.254.2.10]) by ORSMSX151.amr.corp.intel.com ([169.254.7.214]) with mapi id 14.01.0355.002; Mon, 9 Apr 2012 13:22:21 -0700 From: "Barry, Sean F" To: "common-user@hadoop.apache.org" Subject: RE: multiple nodes one machine Thread-Topic: multiple nodes one machine Thread-Index: Ac0WbOQLGflAxDKOQgKOL9xmllLdnwATU8EAAAuSdjA= Date: Mon, 9 Apr 2012 20:22:20 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Harsh,=20 I am interested in adding datanodes just for testing. I have a few more things I should have said earlier.=20 My current cluster looks like this. Which I set up exactly like tutorial ht= tp://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-no= de-cluster/ except I am running Suse 12.1 on both boxes. Master - running NameNode, DataNode, TaskTracker, SecNameNode and JobTtrack= er ------ Slave - running Datanode and TaskTracker My (4 core) slave machine is the one that I would like to add three additi= onal datanodes to But when I use the run-additionalDN.sh script I get an Us= age: java DataNode [-rollback]. Am I supposed to run the script on my master node or slave node? -SB -----Original Message----- From: Harsh J [mailto:harsh@cloudera.com]=20 Sent: Monday, April 09, 2012 11:35 AM To: common-user@hadoop.apache.org Subject: Re: multiple nodes one machine Barry, Depends on what you'll be testing. If you want more daemons, then yes you n= eed to add more nodes onto the same box (configs may be tweaked to achieve = this). If you just want MR to provide more slots for tasks, then a specific= task tracker property alone may be edited. For more daemons, see http://search-hadoop.com/m/a4klk28NUr12 and a neat co= nfig I use for running them without too much config mess: https://gist.github.com/2345300 For the latter, see: http://wiki.apache.org/hadoop/FAQ#I_see_a_maximum_of_2_maps.2BAC8-reduces_s= pawned_concurrently_on_each_TaskTracker.2C_how_do_I_increase_that.3F Alternatively, use the hadoop-test jar provided classes: MiniDFSCluster and MiniMRCluster which can run from with a test suite itsel= f (With multiple threads as daemons, to simply test around with). On Mon, Apr 9, 2012 at 9:52 PM, Barry, Sean F wrot= e: > Hi all, > > I currently have a 2 node cluster up and running. But now I face a new is= sue, one of my nodes is running a Datanode and a Tasktracker on a 4 core ma= chine and in order to do a bit of proof of concept testing I would like to = have 4 nodes running on that particular machine. Does this mean that I woul= d need to set that up as a pseudodistributed cluster? or do you have any ot= her suggestions? And would I need to add 3 more datanodes and 3 more tasktr= ackers or either or? > > Thanks > -SB -- Harsh J