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

Fix a findbugs warning in ReplaceDatanodeOnFailure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • build
    • None
    • Reviewed

    Description

      The following findbugs warning came up recently although there was no recent change of the code.

      • ReplaceDatanodeOnFailure$Policy defines non-transient non-serializable instance field condition
        Bug type SE_BAD_FIELD (click for details)
        In class org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure$Policy
        Field org.apache.hadoop.hdfs.protocol.datatransfer.ReplaceDatanodeOnFailure$Policy.condition
        In ReplaceDatanodeOnFailure.java

      Attachments

        1. h7169_20140930.patch
          0.6 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: