You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Sid Wagle <sw...@hortonworks.com> on 2014/03/05 19:55:58 UTC

Review Request 18782: Transition to INIT state on 800 node cluster takes too long

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

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
-------


Thanks,

Sid Wagle


Re: Review Request 18782: Transition to INIT state on 800 node cluster takes too long

Posted by Nate Cole <nc...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18782/#review36253
-----------------------------------------------------------

Ship it!


Ship It!

- Nate Cole


On March 5, 2014, 2 p.m., Sid Wagle wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18782/
> -----------------------------------------------------------
> 
> (Updated March 5, 2014, 2 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
> -------
> 
> -------------------------------------------------------
>  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
> 
>


Re: Review Request 18782: Transition to INIT state on 800 node cluster takes too long

Posted by Sid Wagle <sw...@hortonworks.com>.
-----------------------------------------------------------
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