[
https://issues.apache.org/jira/browse/HDFS-8961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14746273#comment-14746273
]
Haohui Mai commented on HDFS-8961:
----------------------------------
Updated the jira title to reflect the final solution. Please feel free to add
additional details.
> Surpress findbug warnings of
> o.a.h.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager in hdfs-client
> ----------------------------------------------------------------------------------------------------------
>
> Key: HDFS-8961
> URL: https://issues.apache.org/jira/browse/HDFS-8961
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Haohui Mai
> Assignee: Mingliang Liu
> Fix For: 2.8.0
>
> Attachments: HDFS-8961.000.patch
>
>
> There are two clauses in {{hadoop-hdfs}} to filter out the findbugs warnings
> in
> {{org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager}}:
> {code}
> <Match>
> <Class
> name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager"
> />
> <Method name="allocSlot" />
> <Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH" />
> </Match>
> <Match>
> <Class
> name="org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager"
> />
> <Method name="allocSlot" />
> <Bug pattern="UL_UNRELEASED_LOCK" />
> </Match>
> {code}
> These two warnings show up in the Jenkins run as these classes are moved into
> the {{hadoop-hdfs-client}} module. We either need to fix the code or move
> these clauses to the {{hadoop-hdfs-client}} module.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)