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

Fix findbugs warning in BlockManager.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • None
    • Reviewed

    Description

      BlockManager#checkBlocksProperlyReplicated
              final BlockInfoUnderConstruction uc =
                  (BlockInfoUnderConstruction)b;
      

      uc is not needed and this causes findbugs warning.

      Attachments

        1. findbugs.png
          132 kB
          Akira Ajisaka
        2. HDFS-8749.patch
          1.0 kB
          Brahma Reddy Battula

        Activity

          People

            brahmareddy Brahma Reddy Battula
            aajisaka Akira Ajisaka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: