Return-Path: Delivered-To: apmail-hadoop-general-archive@minotaur.apache.org Received: (qmail 60539 invoked from network); 25 May 2010 02:08:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 02:08:48 -0000 Received: (qmail 23847 invoked by uid 500); 25 May 2010 02:08:47 -0000 Delivered-To: apmail-hadoop-general-archive@hadoop.apache.org Received: (qmail 23792 invoked by uid 500); 25 May 2010 02:08:47 -0000 Mailing-List: contact general-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@hadoop.apache.org Delivered-To: mailing list general@hadoop.apache.org Received: (qmail 23784 invoked by uid 99); 25 May 2010 02:08:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 02:08:47 +0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of yhemanth@gmail.com designates 209.85.160.48 as permitted sender) Received: from [209.85.160.48] (HELO mail-pw0-f48.google.com) (209.85.160.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 02:08:41 +0000 Received: by pwi9 with SMTP id 9so1261692pwi.35 for ; Mon, 24 May 2010 19:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=aLL4fV89N1BhJwSSwaSvpUKiZPYBefzzRopDg01nKY0=; b=t5UZbY98p/+mqyK3Q5D6/G/bCz/n5MjYdv480cPSqwf4tnnBsIa6uqa09yO9IWX6Q9 kY6kyBuP6ogs6ZjRNxfNi43UXEyka89lMMkCCpq2Dei0ywvd4REaS7/I0rGoYqd+QGN8 +LmeajtGEUeueHX/rYvEJnHVaTlFRVMhc7EcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nllhFku5gLwjdc02nn+bVRCZi2i9zikrXGXwZxKEzDbQkmUMC2wAHrX5URo1Gt1yuB 6GCLOwGkXO5OpNw7tJjjpqU96A4+98vcZUrubA7kCrjJFZMSo1y35SZWJkXkuEQ5BkNG /dToFUZN4KDeZrLNt2GOr4PJwtSSIIEQuAIaI= MIME-Version: 1.0 Received: by 10.143.27.12 with SMTP id e12mr4541520wfj.87.1274753300827; Mon, 24 May 2010 19:08:20 -0700 (PDT) Received: by 10.142.203.16 with HTTP; Mon, 24 May 2010 19:08:20 -0700 (PDT) In-Reply-To: <590CDE7A083C4142AF05E96F2FB543BC9733D2@r-exchange.cardlink.local> References: <590CDE7A083C4142AF05E96F2FB543BC9733D2@r-exchange.cardlink.local> Date: Tue, 25 May 2010 07:38:20 +0530 Message-ID: Subject: Re: Active-Active Performance From: Hemanth Yamijala To: general@hadoop.apache.org Content-Type: multipart/alternative; boundary=00504502cc73ac0e3f048761a1ba --00504502cc73ac0e3f048761a1ba Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Anthony, I=92m new to Hadoop and I=92ve been given the task to see how we might util= ise > Hadoop and HBase to implement an Active-Active site layer for sharing > information across a distributed application. > > > > I=92ve been able to: > > =B7 Install and get Hadoop running on a single node and am in the > process of configure a 2 node setup. > > =B7 Install HBase on a single node and create a table and mapping= as > well as insert data into the system > > > > Once I=92ve got the mutli-node configured I hope to run some tests as wel= l. > > > > I=92ve noticed that trying to start Hadoop in distributed mode, the slave > will ssh to the master to start it as well (bin/start-all.sh) provided th= e > same path is setup on the remote machine. > > > > Questions: > > Can I configure the system IF the Hadoop installation is not in the same > location per machine? > I would think configuring and managing such a system would get very complex - for e.g. if you'll want to add nodes to expand in future. You would also not be able to take advantage of the very helpful scripts that come with Hadoop. Is there a reason why you want to do this ? > If the master node goes down (say due to electrical fault or system fault= ) > how do the slave nodes react? Will they continue to run? Will the nodes b= e > back in sync once the master starts again? > Hadoop slaves will continue. They will enter a retry loop trying to connect to the master until it comes up. In doing so, they could fill up log files very fast though. If the master starts with the same configuration, (same host, ports), they should be able to connect and resume. > Would I require a particular configuration to ensure that both our sites > can operate within the cluster as well as in a detached fashion (due to > maintenance or network issues)? > > > I did not quite follow this. Can you explain a little more about how you want to setup your system ? Thanks Hemanth --00504502cc73ac0e3f048761a1ba--