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

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

    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:
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: