hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghu Angadi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3943) NetworkTopology.pseudoSortByDistance does not need to be a synchronized method
Date Wed, 13 Aug 2008 22:10:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12622368#action_12622368
] 

Raghu Angadi commented on HADOOP-3943:
--------------------------------------

I guess we missed converting this to use read lock as part of HADOOP-1269. Would that be the
fix? 

> NetworkTopology.pseudoSortByDistance does not need to be a synchronized method
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-3943
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3943
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.19.0
>
>
> When all requests to namenode are read, most handlers block on NetworkTopology object
lock when sorting replicas. Removing this necessary lock would reduce the contention in namenode
and therefore improve its throughput.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message