You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2018/06/13 11:42:00 UTC

[jira] [Created] (AMBARI-24089) Cannot add component to 25+ hosts

Andrii Tkach created AMBARI-24089:
-------------------------------------

             Summary: Cannot add component to 25+ hosts
                 Key: AMBARI-24089
                 URL: https://issues.apache.org/jira/browse/AMBARI-24089
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.7.0
            Reporter: Andrii Tkach
            Assignee: Andrii Tkach
             Fix For: 2.7.0


STR:
1. On 26+ nodes cluster go to Hosts -> All Hosts
2. Add any component to all hosts:
3. Obverse this error from UI:
{noformat}
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)
{noformat}

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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)