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

Check for config group host mapping left behind after host delete

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.2
    • Component/s: ambari-server
    • Labels:
      None

      Description

      Delete hosts deletes the config group host mapping as well, however, certain older versions of Ambari have reported seeing orphaned mappings in the configgrouphostmapping table.

      This results in Add Service wizard being stuck with the following error message:

      This is a JS issue. No exceptions/error in Ambari server logs: 
      Uncaught TypeError: Cannot read property 'id' of undefined 
      at http://192.167.42.111:8080/javascripts/app.js:37021:96 
      at Array.map (native) 
      at Class.<anonymous> 
      

      The patch addresses identifying such an error on server start and providing a way to fix it automatically.

        Attachments

        1. AMBARI-21658.patch
          32 kB
          Siddharth Wagle

          Issue Links

            Activity

              People

              • Assignee:
                swagle Siddharth Wagle
                Reporter:
                swagle Siddharth Wagle
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: