ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrii Tkach (JIRA)" <>
Subject [jira] [Created] (AMBARI-3693) [perf] Hosts UI should not load host_components unless editing a host
Date Tue, 05 Nov 2013 13:14:17 GMT
Andrii Tkach created AMBARI-3693:

             Summary: [perf] Hosts UI should not load host_components unless editing a host
                 Key: AMBARI-3693
             Project: Ambari
          Issue Type: Bug
          Components: client
    Affects Versions: 1.4.1
            Reporter: Andrii Tkach
            Assignee: Andrii Tkach
             Fix For: 1.4.2
         Attachments: AMBARI-3693.patch

Ambari UI when getting hosts, also gets all the host-components. This is needed to calculate
state of each host, when filtering by components on Hosts page, and when editing a host.

The call UI makes is

UI should get away from loading all host-components where possible.
* Ambari load
** UI should not ask for all host-components
** Hosts should have their {{state}} flag reflect rolled-up status of host-components
* Hosts page
** UI has no option but to load basic information on all host_components. But only when you
enter this page.
* Individual host editing
** Load host_components for that host (if not loaded)

UI might need a wrapper/utility class where we do not directly ask Ember for host_components,
but rather maintain a cache and load only when necessary. This will allow the flexibility
required for above varying cases.

Also API needs to provide the rolled up {{state}} flag.

This message was sent by Atlassian JIRA

View raw message