Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3879

Fix findbugs warning in TransferFsImage on branch-2

    Details

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

      Description

      The trunk patch for HDFS-3190 fixed the following findbugs warning but the branch-2 merge missed it.

      Dead store to buf in org.apache.hadoop.hdfs.server.namenode.TransferFsImage.getFileClient(String, String, List, Storage, boolean)
      
      1. hdfs-3879.txt
        0.8 kB
        Eli Collins

        Activity

        Hide
        Eli Collins added a comment -

        Thanks ATM, I've committed this.

        Show
        Eli Collins added a comment - Thanks ATM, I've committed this.
        Hide
        Aaron T. Myers added a comment -

        +1

        Show
        Aaron T. Myers added a comment - +1
        Hide
        Eli Collins added a comment -

        Patch attached. Verified this brings the branch-2 findbugs count for HDFS to zero.

        Show
        Eli Collins added a comment - Patch attached. Verified this brings the branch-2 findbugs count for HDFS to zero.

          People

          • Assignee:
            Eli Collins
            Reporter:
            Eli Collins
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development