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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.7.0
    • None
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: