Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 61C45200B7E for ; Tue, 2 Aug 2016 02:08:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 606CE160AAB; Tue, 2 Aug 2016 00:08:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AAFC8160AA7 for ; Tue, 2 Aug 2016 02:08:21 +0200 (CEST) Received: (qmail 62660 invoked by uid 500); 2 Aug 2016 00:08:20 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 62644 invoked by uid 99); 2 Aug 2016 00:08:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 00:08:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BCC672C0D5F for ; Tue, 2 Aug 2016 00:08:20 +0000 (UTC) Date: Tue, 2 Aug 2016 00:08:20 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-17951) Introduce validation of hostgroup mapping for active/standby namenode MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 00:08:22 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17951?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15= 403070#comment-15403070 ]=20 Hadoop QA commented on AMBARI-17951: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest a= ttachment=20 http://issues.apache.org/jira/secure/attachment/12821438/AMBARI-17951-v1.= patch against trunk revision . {color:red}-1 patch{color}. Top-level trunk compilation may be broken. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/8249/= /console This message is automatically generated. > Introduce validation of hostgroup mapping for active/standby namenode > --------------------------------------------------------------------- > > Key: AMBARI-17951 > URL: https://issues.apache.org/jira/browse/AMBARI-17951 > Project: Ambari > Issue Type: Bug > Components: ambari-server, blueprints > Affects Versions: trunk > Reporter: Amruta Borkar > Assignee: Amruta Borkar > Fix For: trunk > > Attachments: AMBARI-17951-v1.patch > > > Ambari allows user to specify following properties when Namenode HA is en= abled, but does not validate for correct mapping. > "dfs_ha_initial_namenode_active" : "hostname or hostgroup reference", > "dfs_ha_initial_namenode_standby" : "hostname or hostgroup reference=E2= =80=9D > If the values for above properties are mentioned incorrectly following ex= ception is thrown and NAMENODE fails to start. > 2016-07-27 18:54:43,522 WARN namenode.FSNamesystem (FSNamesystem.java:lo= adFromDisk(692)) - Encountered exception loading fsimage > java.io.IOException: NameNode is not formatted. > at org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransiti= onRead(FSImage.java:225) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImag= e(FSNamesystem.java:1015) > at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDi= sk(FSNamesystem.java:690) > at org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem= (NameNode.java:688) > at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(Nam= eNode.java:752) > at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNod= e.java:992) > at org.apache.hadoop.hdfs.server.namenode.NameNode.(NameNod= e.java:976) > at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode= (NameNode.java:1686) > at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.= java:1754) -- This message was sent by Atlassian JIRA (v6.3.4#6332)