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 00:58:12 UTC

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

Siddharth Wagle created AMBARI-1465:
---------------------------------------

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


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