You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Nahappan Somasundaram (JIRA)" <ji...@apache.org> on 2016/02/10 22:01:18 UTC

[jira] [Updated] (AMBARI-14988) DB consistency: Add a consistency check on clusterconfigmapping

     [ https://issues.apache.org/jira/browse/AMBARI-14988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nahappan Somasundaram updated AMBARI-14988:
-------------------------------------------
    Description: 
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());


  was:
Add additional checks in DB consistency checker for 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());


> DB consistency: Add a consistency check on clusterconfigmapping
> ---------------------------------------------------------------
>
>                 Key: AMBARI-14988
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14988
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.2
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>            Priority: Critical
>              Labels: ambari-server
>             Fix For: 2.2.2
>
>         Attachments: rb43405.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)