You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/02/24 20:53:19 UTC

[jira] [Commented] (AMBARI-14607) Requests to start/stop all services are very slow

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

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

ABORTED: Integrated in Ambari-trunk-Commit #4382 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4382/])
AMBARI-14607. Requests to start/stop all services are very slow. (ncole: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0088bf712b358ce7d59c10112b0201c414f76366])
* ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementController.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostComponentStateDAO.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.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)