Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
Ambari UI loads all host_components to calculate the state of each host (red=host_component stopped, etc.). Since this is not scaling, we want to request the Host's Hosts/host_status to accurately reflect the status of host_components for that host.
Call made by UI is
http://server:8080/api/v1/clusters/ga/hosts?fields=Hosts/host_name,Hosts/public_host_name,Hosts/disk_info,Hosts/cpu_count,Hosts/total_mem,Hosts/host_status,Hosts/last_heartbeat_time,Hosts/os_arch,Hosts/os_type,Hosts/ip,host_components,metrics/disk,metrics/load/load_one