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

Fix findbug in TransferFsImage.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • namenode
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: