> On Січ. 26, 2017, 6:11 після полудня, Alejandro Fernandez wrote: > > What is the performance after these changes?
For newly installed cluster it gives near 1-2 seconds. "Stop all" generates commands for 17-18 seconds. "Start all" - 20 seconds. But for long running cluster which has host_role_command table for 5 GB and execution_command table for 2 GB it will give profit near 5 seconds. So as many commands/components, as much profit we will have from these changes. - Vitalyi ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55989/#review163141 ----------------------------------------------------------- On Січ. 26, 2017, 7:29 після полудня, Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55989/ > ----------------------------------------------------------- > > (Updated Січ. 26, 2017, 7:29 після полудня) > > > Review request for Ambari and Myroslav Papirkovskyy. > > > Repository: ambari > > > Description > ------- > > I've deployed cluster with 3000 agents and started my little test script on > it. Script is doing only three actions in loop: 1) Stop All services 2) Start > All services 3) Update zk config. > After few days of work these actions need much more time to be executed. For > example before stop/start all actions took near 7-8 minutes. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/agent/HeartbeatMonitor.java > c53a73d > > ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java > 8b851ac > > ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java > cb4fdbe > > ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java > 5ce2a90 > ambari-server/src/main/java/org/apache/ambari/server/state/Host.java > 04b2104 > > ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java > 5dfa8ec > > ambari-server/src/main/java/org/apache/ambari/server/state/host/HostImpl.java > 3c7b040 > > ambari-server/src/main/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostImpl.java > 1bcffe4 > > Diff: https://reviews.apache.org/r/55989/diff/ > > > Testing > ------- > > > Thanks, > > Vitalyi Brodetskyi > >
