ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sid Wagle" <swa...@hortonworks.com>
Subject Re: Review Request 18782: Transition to INIT state on 800 node cluster takes too long
Date Wed, 05 Mar 2014 19:00:01 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18782/
-----------------------------------------------------------

(Updated March 5, 2014, 7 p.m.)


Review request for Ambari, Mahadev Konar, Nate Cole, and Sumit Mohanty.


Bugs: AMBARI-4960
    https://issues.apache.org/jira/browse/AMBARI-4960


Repository: ambari


Description
-------

*API call*:

PUT http://162.216.148.43:8080/api/v1/clusters/c1/services?ServiceInfo/state=INIT

{"RequestInfo": {"context" :"Install Services"}, "Body": {"ServiceInfo": {"state": "INSTALLED"}}}

For every Execution command we are finding out which HostComponents are in Passive state and
setting them on the execution command.

org.apache.ambari.server.controller.MaintenanceStateHelper.getMaintenanceHostCompoments(Clusters,
Cluster) spent most of the time acquiring locks.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
85f9078 
  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
3a8760f 
  ambari-server/src/main/java/org/apache/ambari/server/controller/MaintenanceStateHelper.java
b78f68f 
  ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerTest.java
d6886b4 

Diff: https://reviews.apache.org/r/18782/diff/


Testing (updated)
-------

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.ambari.server.controller.AmbariManagementControllerTest
Tests run: 106, Failures: 0, Errors: 0, Skipped: 6, Time elapsed: 130.842 sec

Results :

Tests run: 106, Failures: 0, Errors: 0, Skipped: 6


Thanks,

Sid Wagle


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message