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

FsVolumeList#addVolume should release volume reference if not put it into BlockScanner.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • datanode
    • None

    Description

      FsVolumeList#addVolume() passes FsVolumeReference to blockScanner:

       if (blockScanner != null) {
            blockScanner.addVolumeScanner(ref);
      }
      

      However, if blockScanner == null, the FsVolumeReference will not be released.

      Attachments

        1. HDFS-8051.000.patch
          3 kB
          Lei (Eddy) Xu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: