[ 
https://issues.apache.org/jira/browse/AMBARI-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siddharth Wagle updated AMBARI-1465:
------------------------------------

    Attachment: AMBARI-1465.patch

Patch for minimizing read lock acquisition
                
> 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

Reply via email to