You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2013/02/22 01:02:12 UTC

[jira] [Commented] (AMBARI-1465) Minimize Read and Write locks for createHosts

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

Siddharth Wagle commented on AMBARI-1465:
-----------------------------------------

Patch ready for review
                
> Minimize Read and Write locks for createHosts
> ---------------------------------------------
>
>                 Key: AMBARI-1465
>                 URL: https://issues.apache.org/jira/browse/AMBARI-1465
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.2.2
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 1.3.0
>
>         Attachments: AMBARI-1465.patch
>
>
> Invocation count and exec time for ClustersImpl.mapHostToCluser very high
> org.apache.ambari.server.state.cluster.ClustersImpl.mapHostToCluster(String, String) 
> Time(ms): 252,925 
> Avg Time(ms): 5,269 
> Own Time(ms): 211
> Invocation Count: 48
> Each time host is mapped to cluster we refresh the entity manager. This results in the createHosts call taking excess of 10 minutes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira