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:28:00 UTC
[jira] [Created] (AMBARI-25437) execution_command are running too
slow
Chenjian created AMBARI-25437:
---------------------------------
Summary: 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
Reporter: Chenjian
Fix For: 2.7.3
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)