Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8961

Surpress findbug warnings of o.a.h.hdfs.shortcircuit.DfsClientShmManager.EndpointShmManager in hdfs-client

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      There are two clauses in hadoop-hdfs to filter out the findbugs warnings in org.apache.hadoop.hdfs.shortcircuit.DfsClientShmManager$EndpointShmManager:

          <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>
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              liuml07 Mingliang Liu
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: