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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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

        1. HDFS-8961.000.patch
          2 kB
          Mingliang Liu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: