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

Fix removal of dynamically added DN volumes

    XMLWordPrintableJSON

Details

    Description

      In the hot swap feature, FsDatasetImpl#addVolume uses the base volume dir (e.g. "/foo/data0", instead of volume's current dir "/foo/data/current" to construct FsVolumeImpl. As a result, DataNode can not remove this newly added volume, because its FsVolumeImpl#getBasePath returns "/foo".

      Attachments

        1. HDFS-7610.001.patch
          8 kB
          Lei (Eddy) Xu
        2. HDFS-7610.000.patch
          9 kB
          Lei (Eddy) Xu

        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: