ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14607) Requests to start/stop all services are very slow
Date Wed, 13 Jan 2016 19:03:40 GMT

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

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

ABORTED: Integrated in Ambari-trunk-Commit #4164 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4164/])
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=a71727569a7c96adae0c6931564450e8cf42cc67])
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/HostComponentStateDAO.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementController.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
* ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.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)

Mime
View raw message