Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-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 A945010818 for ; Wed, 11 Dec 2013 13:36:23 +0000 (UTC) Received: (qmail 5169 invoked by uid 500); 11 Dec 2013 13:36:22 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 5081 invoked by uid 500); 11 Dec 2013 13:36:15 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 5002 invoked by uid 99); 11 Dec 2013 13:36:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 13:36:12 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chadwickbanning@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Dec 2013 13:36:05 +0000 Received: by mail-oa0-f48.google.com with SMTP id l6so7219397oag.35 for ; Wed, 11 Dec 2013 05:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=RkkCqpaWFfXCmi7/3rKnTzuSuz8JBKCfgM+7bTBwOFs=; b=xO1n1SV+9bZlYSGtpob3s5c5To4nZ9DlN7ZJtMFtsjoDlxfW4nezfFEjDCsOgiomYQ SbfUijDQa7HVqOjL1obMMyoRrHsul2Q7BWCHqAXbukd+EDbYDxQraqEYVIV9rmEqiP9Y CPix4iuEWhPohjohGAk+hUMh7sUZaRtmH+BDdoek+mWgZnCyCbE4GTZ7njJhHwOoWYEa 9R1jvUe4eBz/cqEf1Oe327lxj0nQznD4Z6ptWzelMjxRo0Q52lldqm4Uip8U2wrmRubs SUQ1SVnvNYQtNv+OBqFBNk08RnWfzyZpubFKNrxfCIe40WPwdCQ8ADquzCRGho7frYMs 4brQ== X-Received: by 10.183.3.102 with SMTP id bv6mr1145631obd.18.1386768944829; Wed, 11 Dec 2013 05:35:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.84.105 with HTTP; Wed, 11 Dec 2013 05:35:24 -0800 (PST) From: Chadwick Banning Date: Wed, 11 Dec 2013 08:35:24 -0500 Message-ID: Subject: Journal Nodes in a multi-site environment To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a1134a45c57ae5504ed424ebe X-Virus-Checked: Checked by ClamAV on apache.org --001a1134a45c57ae5504ed424ebe Content-Type: text/plain; charset=ISO-8859-1 Hi all, I have an Ambari 1.4/HDP 2.0.6 environment that is split between two data centers -- a main site and a recovery site. We have NameNode HA enabled with automatic failover and the problem we are facing is how to divide the journal nodes across both sites so that failover happens appropriately. It seems that only one site will always have a majority of journal nodes and if that site NN were to go down, the other site NN would no longer be able to start as it couldn't reach a majority of the journal nodes. Is there any way around this? I know an odd number of journal nodes is recommended but what would happen if we were to place an even number of journal nodes at each site? Thanks for any input! --001a1134a45c57ae5504ed424ebe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

I have an Ambari 1.4/HDP 2.0.6 = environment that is split between two data centers -- a main site and a rec= overy site. =A0We have NameNode HA enabled with automatic failover and the = problem we are facing is how to divide the journal nodes across both sites = so that failover happens appropriately.

It seems that only one site will always have a majority= of journal nodes and if that site NN were to go down, the other site NN wo= uld no longer be able to start as it couldn't reach a majority of the j= ournal nodes.

Is there any way around this? =A0I know an odd number o= f journal nodes is recommended but what would happen if we were to place an= even number of journal nodes at each site?

Thanks= for any input!
--001a1134a45c57ae5504ed424ebe--