Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Currently the UI loads all the host-components for a service just to calculate the status of a service. So if YARN, HDFS are installed on a 1000 node cluster, we get 2000 host-components in response just to calculate the color of 2 services (stopped=red, started=green, starting=blinking-green, stopping=blinking-red, etc., unknown=yellow)
This is not scalable on the browser. We want the API to roll-up the host-component statuses, and correctly update the ServiceInfo/state of the service. This will help UI in not loading all host_components.