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

Fix the new findbugs warning from TransferFsImage

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:

      Description

      There is a findbug warning in https://builds.apache.org/job/PreCommit-HDFS-Build/9080//artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html ,

      Bug type RV_RETURN_VALUE_IGNORED_BAD_PRACTICE
      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]
      

      seems to me it came from https://issues.apache.org/jira/browse/HDFS-7373 's change

        Attachments

        1. HDFS-7551-001.txt
          0.8 kB
          Liang Xie
        2. HDFS-7551-002.txt
          0.8 kB
          Liang Xie

          Issue Links

            Activity

              People

              • Assignee:
                xieliang007 Liang Xie
                Reporter:
                xieliang007 Liang Xie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: