hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6272) Improve FSNamesystem.listCorruptFileBlocks so that it doesn't need to acquire the readLock.
Date Tue, 22 Apr 2014 23:18:15 GMT
Ming Ma created HDFS-6272:
-----------------------------

             Summary: Improve FSNamesystem.listCorruptFileBlocks so that it doesn't need to
acquire the readLock.
                 Key: HDFS-6272
                 URL: https://issues.apache.org/jira/browse/HDFS-6272
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Ming Ma


FSNamesystem.listCorruptFileBlocks currently needs to take readLock to enumerate the list
of corruptFileBlocks. The call will be blocked if NN's writeLock is owned by another thread.
It will be useful if FSNamesystem.listCorruptFileBlocks doesn't require readLock for scenarios
like JMX.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message