Chenjian created AMBARI-25422:
---------------------------------
Summary: the interface to get serviceInfo is too slow
Key: AMBARI-25422
URL: https://issues.apache.org/jira/browse/AMBARI-25422
Project: Ambari
Issue Type: Improvement
Components: ambari-server
Affects Versions: 2.7.3
Environment: ambari server environment:
cpus : 48
mem: 256g
linux release : CentOS Linux release 7.5.1804 (Core)
-Xms64g -Xmx64g
Reporter: Chenjian
Fix For: ambari-server, 2.7.3
now, we use Ambari to manage more than 3000 hosts, 20+ Components. we found
that, the interface
"[http://ip:port/api/v1/clusters/TL0/services?fields=ServiceInfo/state,ServiceInfo/maintenance_state,ServiceInfo/desired_repository_version_id,components/ServiceComponentInfo/component_name&minimal_response=true&_=1572316944944|http://10.128.142.193:8080/api/v1/clusters/TL0/services?fields=ServiceInfo/state,ServiceInfo/maintenance_state,ServiceInfo/desired_repository_version_id,components/ServiceComponentInfo/component_name&minimal_response=true&_=1572316944944]"
is too slow, it will cost about 1.5mins every request.
This interface is requested every time the UI is refreshed. For example, after
modifying the configuration, exiting the add service interface, etc., this
interface will be requested.
the installed Ambari version is release-2.7.3
--
This message was sent by Atlassian Jira
(v8.3.4#803005)