[
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)