ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "YUBI LEE (Jira)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-25422) the interface to get serviceInfo is too slow
Date Mon, 15 Feb 2021 05:00:08 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-25422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284547#comment-17284547
] 

YUBI LEE commented on AMBARI-25422:
-----------------------------------

[~chenjian2664]

I'm also suffered from this issue. I created pull request : https://github.com/apache/ambari/pull/3285.

> 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
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Mime
View raw message