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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: datanode
    • Labels:
      None
    • Target Version/s:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: