You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Chenjian (Jira)" <ji...@apache.org> on 2019/12/02 03:05:00 UTC

[jira] [Updated] (AMBARI-25422) the interface to get serviceInfo is too slow

     [ https://issues.apache.org/jira/browse/AMBARI-25422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chenjian updated AMBARI-25422:
------------------------------
    Environment: 
ambari server environment:

cpus : 48 

mem: 256g

linux release : CentOS Linux release 7.5.1804 (Core)

-Xms64g -Xmx64g 

 

CentOS 7

Maven 3.3.9

Java JDK 8 

all packages for compillation installed.  

  was:
ambari server environment:

cpus : 48 

mem: 256g

linux release : CentOS Linux release 7.5.1804 (Core)

-Xms64g -Xmx64g 


> 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 
>  
> CentOS 7
> Maven 3.3.9
> Java JDK 8 
> all packages for compillation installed.  
>            Reporter: Chenjian
>            Priority: Major
>             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)