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 "Hairong Kuang (JIRA)" <ji...@apache.org> on 2010/10/01 02:05:33 UTC
[jira] Created: (HDFS-1436) LeaseRenew RPC does not need to grab
fsnamesystem write lock
LeaseRenew RPC does not need to grab fsnamesystem write lock
------------------------------------------------------------
Key: HDFS-1436
URL: https://issues.apache.org/jira/browse/HDFS-1436
Project: Hadoop HDFS
Issue Type: Improvement
Components: name-node
Affects Versions: 0.22.0
Reporter: Hairong Kuang
Assignee: Hairong Kuang
Fix For: 0.22.0
Lease renew RPC changes neither fsdirectory nor blocksMap. It only updates lease related data structure. Since all accesses of lease related data structures are already synced on leaseManager lock, I do not think the lease renew RPC needs to grab the fsnamesystem write lock. This will greatly reduce the pressure on NameNode when there are large number of files are open for writing in an HDFS cluster.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.