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

BlockReceiver#close() might be called multiple times, which causes the fsvolume reference being released incorrectly.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      BlockReceiver.close() might be called from multiple places, e.g. PacketResponder#finalizeBlock and BlockReceiver#receiveBlock.
      As a result, BlockReceiver#replicaHander should be set to null after release the resource.

        Attachments

        1. HDFS-7660.000.patch
          1.0 kB
          Lei (Eddy) Xu

          Issue Links

            Activity

              People

              • Assignee:
                eddyxu Lei (Eddy) Xu
                Reporter:
                eddyxu Lei (Eddy) Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: