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

Cannot add component to 25+ hosts

    XMLWordPrintableJSON

Details

    Description

      STR:
      1. On 26+ nodes cluster go to Hosts -> All Hosts
      2. Add any component to all hosts:
      3. Obverse this error from UI:

      app.js:23508 Uncaught TypeError: Cannot read property 'get' of undefined
          at app.js:23508
          at Array.forEach (<anonymous>)
          at Class._getComponentsFromServerForHostComponentsAddCallback (app.js:23507)
          at Object.callback (app.js:23498)
          at Object.getComponentsFromServerSuccessCallback (app.js:181958)
          at Class.opt.success (app.js:181325)
          at fire (vendor.js:1141)
          at Object.fireWith [as resolveWith] (vendor.js:1252)
          at done (vendor.js:8178)
          at XMLHttpRequest.callback (vendor.js:8702)
      

      As per discussion with UI guys. This is because model is only available for first 25 hosts, and so for others it's not possible to check if heartbeat is not lost.

      Possibly the solution could be as simple as UI asking heartbeat state in scope of the request along with other info.

      Attachments

        Issue Links

          Activity

            People

              atkach Andrii Tkach
              atkach Andrii Tkach
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m