You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2018/05/15 22:54:00 UTC
[jira] [Resolved] (HDFS-4702) remove namesystem lock from
DatanodeManager#fetchDatanodes
[ https://issues.apache.org/jira/browse/HDFS-4702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wei-Chiu Chuang resolved HDFS-4702.
-----------------------------------
Resolution: Duplicate
Target Version/s: (was: )
Looking at code, this lock is removed as part of HDFS-5693.
> remove namesystem lock from DatanodeManager#fetchDatanodes
> ----------------------------------------------------------
>
> Key: HDFS-4702
> URL: https://issues.apache.org/jira/browse/HDFS-4702
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Affects Versions: 3.0.0-alpha1
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Major
>
> {{DatanodeManager#fetchDatanodes}} currently holds the namesystem read lock while iterating through data nodes. This method is called from the namenode web UI. HDFS-3990 reported a performance problem in this code path. This is a follow-up jira to investigate whether or not we can remove the lock.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org