HDFS-15048. Fix findbug in DirectoryScanner. Contributed by Sean Chow.

This commit is contained in:
Masatake Iwasaki 2020-04-13 15:32:15 +09:00
parent 01ed6832f4
commit 00b313d6ff
1 changed files with 5 additions and 0 deletions

View File

@ -246,4 +246,9 @@
<Class name="org.apache.hadoop.hdfs.server.datanode.checker.AbstractFuture" />
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
</Match>
<Match>
<Class name="org.apache.hadoop.hdfs.server.datanode.DirectoryScanner" />
<Method name="reconcile" />
<Bug pattern="SWL_SLEEP_WITH_LOCK_HELD" />
</Match>
</FindBugsFilter>