Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B93AA18C9E for ; Thu, 11 Feb 2016 21:47:18 +0000 (UTC) Received: (qmail 23573 invoked by uid 500); 11 Feb 2016 21:47:18 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 23540 invoked by uid 500); 11 Feb 2016 21:47:18 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 23414 invoked by uid 99); 11 Feb 2016 21:47:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2016 21:47:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 248382C1F5D for ; Thu, 11 Feb 2016 21:47:18 +0000 (UTC) Date: Thu, 11 Feb 2016 21:47:18 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14988) DB consistency: Add a consistency check on clusterconfigmapping in ClusterImpl::getDesiredConfigs() for NPE. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-14988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15143561#comment-15143561 ] Hudson commented on AMBARI-14988: --------------------------------- FAILURE: Integrated in Ambari-branch-2.2 #322 (See [https://builds.apache.org/job/Ambari-branch-2.2/322/]) AMBARI-14988: DB consistency - Add consistency check on (nsomasundaram: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5f7166c6e3fafc0104b9ff6fab126d68cb41fc15]) * ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java > DB consistency: Add a consistency check on clusterconfigmapping in ClusterImpl::getDesiredConfigs() for NPE. > ------------------------------------------------------------------------------------------------------------ > > Key: AMBARI-14988 > URL: https://issues.apache.org/jira/browse/AMBARI-14988 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.2.0 > Reporter: Nahappan Somasundaram > Assignee: Nahappan Somasundaram > Priority: Critical > Labels: ambari-server > Fix For: 2.2.2 > > Attachments: rb43405 (1).patch > > > In ClusterImpl::getDesiredConfigs(), log and skip the following scenario: > *Unmapped version_tag entries:* clusterconfigmapping -> clusterconfig cause NullPointerException in ClusterImpl.java ClusterImpl::getDesiredConfigs(boolean allVersions): > c.setVersion(allConfigs.get(e.getType()).get(e.getTag()).getVersion()); -- This message was sent by Atlassian JIRA (v6.3.4#6332)