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

DataNode#checkDiskError should also remove Storage when error is found.

    XMLWordPrintableJSON

Details

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

    Description

      When DataNode#checkDiskError found disk errors, it removes all block metadatas from FsDatasetImpl. However, it does not removed the corresponding DataStorage and BlockPoolSliceStorage.

      The result is that, we could not directly run reconfig to hot swap the failure disks without changing the configure file.

      Attachments

        1. HDFS-7722.000.patch
          18 kB
          Lei (Eddy) Xu
        2. HDFS-7722.001.patch
          30 kB
          Lei (Eddy) Xu
        3. HDFS-7722.002.patch
          37 kB
          Lei (Eddy) Xu
        4. HDFS-7722.003.patch
          36 kB
          Lei (Eddy) Xu
        5. HDFS-7722.004.patch
          36 kB
          Lei (Eddy) Xu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: