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.

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment