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:30:00 UTC

[jira] [Updated] (AMBARI-25437) execution_command are running too slow

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

Chenjian updated AMBARI-25437:
------------------------------
    Environment: 
CentOS 7

Maven 3.6

Java JDK 8 

all packages for compillation installed.  

 

3000+ Hosts, 20+Components

 

 

> execution_command are running too slow
> --------------------------------------
>
>                 Key: AMBARI-25437
>                 URL: https://issues.apache.org/jira/browse/AMBARI-25437
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-server
>    Affects Versions: ambari-server, 2.7.3
>         Environment: CentOS 7
> Maven 3.6
> Java JDK 8 
> all packages for compillation installed.  
>  
> 3000+ Hosts, 20+Components
>  
>  
>            Reporter: Chenjian
>            Priority: Major
>              Labels: performance
>             Fix For: 2.7.3
>
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> when adding a service, this two interfaces will be requested 4 or 5 times each: 
>  * POST [http://ip:port/api/v1/stacks/SEA/versions/0.1/recommendations|http://10.128.142.193:8080/api/v1/stacks/SEA/versions/0.1/recommendations]
>  * POST [http://|http://10.128.142.193:8080/api/v1/stacks/SEA/versions/0.1/validations] [ip:port|http://10.128.142.193:8080/api/v1/stacks/SEA/versions/0.1/recommendations] [/api/v1/stacks/SEA/versions/0.1/validations|http://10.128.142.193:8080/api/v1/stacks/SEA/versions/0.1/validations]
> first interface costs about 38s, second interface cost about 34s, they both call method StackAdvisorCommand.invoke(xxx), a synchronized function.
> when changing Components configurations the two inteferfaces are also be requested.
> the above two interfaces make the UI too slow.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)