Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-14988

DB consistency: Add a consistency check on clusterconfigmapping in ClusterImpl::getDesiredConfigs() for NPE.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.0
    • 2.2.2
    • ambari-server

    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());

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            smnaha Nahappan Somasundaram
            smnaha Nahappan Somasundaram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment