HDFS-15048. Fix findbug in DirectoryScanner.

This commit is contained in:
Masatake Iwasaki 2019-12-13 13:51:52 +09:00
parent ab32762f43
commit dc6cf17b34
1 changed files with 6 additions and 1 deletions

View File

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