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)