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

Hudson commented on AMBARI-14607:
---------------------------------

SUCCESS: Integrated in Ambari-branch-2.2 #191 (See 
[https://builds.apache.org/job/Ambari-branch-2.2/191/])
AMBARI-14607. Requests to start/stop all services are very slow. 
(mpapyrkovskyy: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bc7032d844c92952e9ef33cf4a0bc3cc763c0233])
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostComponentStateDAO.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementController.java
* 
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java


> Requests to start/stop all services are very slow
> -------------------------------------------------
>
>                 Key: AMBARI-14607
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14607
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Myroslav Papirkovskyy
>            Assignee: Myroslav Papirkovskyy
>            Priority: Critical
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14607.patch
>
>
> As example following request takes more than 3 minutes to finish on 900 node 
> cluster with all services installed:
> {noformat}
> curl -H 'X-Requested-By:anything' -i -X PUT -d  '{"RequestInfo": {"context" 
> :"curl stop all"}, "Body": {"ServiceInfo": {"state": "INSTALLED"}}}' -u 
> admin:admin http://localhost:8080/api/v1/clusters/c1/services
> {noformat}
> Due to internal workflow tasks execution is started earlier, in ~2 minutes. 
> But still too slow.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to