Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFB0C734E for ; Sat, 24 Sep 2011 16:33:32 +0000 (UTC) Received: (qmail 86723 invoked by uid 500); 24 Sep 2011 16:33:32 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 86645 invoked by uid 500); 24 Sep 2011 16:33:31 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 86636 invoked by uid 99); 24 Sep 2011 16:33:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Sep 2011 16:33:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nhgokulprasad@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Sep 2011 16:33:26 +0000 Received: by wyg10 with SMTP id 10so6640911wyg.35 for ; Sat, 24 Sep 2011 09:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=bwdPA1+HHNCFm9Nlo8EppLxJ7SfD9FbVtnpkqnP/RWI=; b=KD70/MZKS6UadeLCcvNUXY2HOcs/ltfWXgOoz2n0iuQ0OHOJS5ZQg50756Lq3VmHPP 3+nEAvH6X4HOYXIoPHAsfwUsKxSyP0R1Yngg+TcPPYqG/O11GEZRj5dQdYNRaIKBe+ux jfH92+RXONLmCImCP5K4kTL3WBiJNs7+Q5WjY= Received: by 10.216.209.18 with SMTP id r18mr1041754weo.59.1316881985120; Sat, 24 Sep 2011 09:33:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.182.210 with HTTP; Sat, 24 Sep 2011 09:32:45 -0700 (PDT) In-Reply-To: References: <20110923182731.GA23906@linspire.com> From: Gokul Prasad Date: Sat, 24 Sep 2011 22:02:45 +0530 Message-ID: Subject: Re: hadoop high availability using terracotta To: hdfs-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable afaik..drbd approach will take longer to bring standby namenode to live..am trying to minimise the downtime..like standby namenode will be relayed with the necessary info thro terracotta and if primary namenode goes down standby will take its role. -gokul On Sat, Sep 24, 2011 at 1:00 AM, GOEKE, MATTHEW (AG/1000) wrote: > Is there any reason not to just use something as simple as drbd (which is= baked into vanilla linux)? Unless you are already paying terracotta for th= eir software there are plenty of HA setups that are supported through the u= se of drbd and a virtual ip. > > Matt > > -----Original Message----- > From: Gokul Prasad [mailto:nhgokulprasad@gmail.com] > Sent: Friday, September 23, 2011 2:06 PM > To: hdfs-user@hadoop.apache.org > Subject: Re: hadoop high availability using terracotta > > Cos, > > Am planning to implement this idea in bigger cluster but first i want > to get confidence in small cluster. I do read about terracotta and > inspired by this idea. > > -gokul > > On Fri, Sep 23, 2011 at 11:57 PM, Konstantin Boudnik wro= te: >> Gokul, >> >> Terracotta is a fascinating framework which might be a bit of an oversho= t for a >> small setup as well as adding another level of complexity in the form >> Terracotta framework. >> >> Quite interesting approach for NN's HA is Jini (aka ASF River) along wit= h >> JavaSpaces for the distributed storage of the meta-data. Using Jini also= gives >> you for free such benefits as auto-discovering making hot-swap of NN a n= on-issue. >> >> I've been musing over this idea for some time and am trying to find some= time >> to actually experiment with it. >> >> Cos >> >> On Fri, Sep 23, 2011 at 11:36PM, Gokul Prasad wrote: >>> =A0 =A0Hi, >>> =A0 =A0Am trying to bring high availability in namenode(in hadoop clust= er) for >>> =A0 =A0small setup. >>> =A0 =A0So the idea is to keep one extra namenode and use terracotta to = replicate >>> =A0 =A0the log(in memory details-jvm) from primary datacode to standby = namenode, >>> =A0 =A0if primary goes down secondary can take the primary role. >>> =A0 =A0Now am bit confused how to start second namenode while the prima= ry name >>> =A0 =A0node up and running(with datanode connected) with keep relying t= he info >>> =A0 =A0from primary thro terracotta. Is there a way to achieve this wit= hout >>> =A0 =A0restarting namenode or datanode, any patch? >>> =A0 =A0Please help and suggest me. >>> =A0 =A0Regards, >>> =A0 =A0Gokul >> > This e-mail message may contain privileged and/or confidential informatio= n, and is intended to be received only by persons entitled > to receive such information. If you have received this e-mail in error, p= lease notify the sender immediately. Please delete it and > all attachments from any servers, hard drives or any other media. Other u= se of this e-mail by you is strictly prohibited. > > All e-mails and attachments sent and received are subject to monitoring, = reading and archival by Monsanto, including its > subsidiaries. The recipient of this e-mail is solely responsible for chec= king for the presence of "Viruses" or other "Malware". > Monsanto, along with its subsidiaries, accepts no liability for any damag= e caused by any such code transmitted by or accompanying > this e-mail or any attachment. > > > The information contained in this email may be subject to the export cont= rol laws and regulations of the United States, potentially > including but not limited to the Export Administration Regulations (EAR) = and sanctions regulations issued by the U.S. Department of > Treasury, Office of Foreign Asset Controls (OFAC). =A0As a recipient of t= his information you are obligated to comply with all > applicable U.S. export laws and regulations. > >