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

Fix removal of dynamically added DN volumes

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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.000.patch
          9 kB
          Lei (Eddy) Xu
        2. HDFS-7610.001.patch
          8 kB
          Lei (Eddy) Xu

        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 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment