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

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

    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

        1. AMBARI-19679-1.patch
          1 kB
          Siddharth Wagle

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: