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

Fix findbug in TransferFsImage.java

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Fix following findbug resulting in recent jenkins runs

      Exceptional return value of java.io.File.delete() ignored in org.apache.hadoop.hdfs.server.namenode.TransferFsImage.deleteTmpFiles(List)
      Bug type RV_RETURN_VALUE_IGNORED_BAD_PRACTICE (click for details) 
      In class org.apache.hadoop.hdfs.server.namenode.TransferFsImage
      In method org.apache.hadoop.hdfs.server.namenode.TransferFsImage.deleteTmpFiles(List)
      Called method java.io.File.delete()
      At TransferFsImage.java:[line 577]

        Attachments

        1. HDFS-7583-002.patch
          1 kB
          Vinayakumar B
        2. HDFS-7583-001.patch
          1 kB
          Vinayakumar B

          Issue Links

            Activity

              People

              • Assignee:
                vinayakumarb Vinayakumar B
                Reporter:
                vinayakumarb Vinayakumar B
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: