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

Dangling config-group hostmapping entries result in partial loading of config groups

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.5.0, 2.4.3
    • ambari-server
    • None

    Description

      Scenario:
      ConfigGroups with host mapping to hosts that no longer exist.
      This results in an NPE during lookup from the in-memory Cluster Map.

      Host host = clusters.getHost(hostMappingEntity.getHostname());
      

      This is swallowed by the Guice assisted injector leading to partial loading of the data from DB.

      Attachments

        Activity

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

          People

            swagle Siddharth Wagle Assign to me
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment