incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-1465) Minimize Read and Write locks for createHosts
Date Fri, 22 Feb 2013 06:02:13 GMT

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

Mahadev konar commented on AMBARI-1465:
---------------------------------------

+1 for the patch looks good to me.
                
> 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

Mime
View raw message