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

Automatically add back the failed volume if it gets better again

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • datanode
    • None

    Description

      For any reason, if one volume is regard as failed and removed from datanode, we have to restart the datanode to add it back.
      I add  a more check on background for failed volume, and add them back automatically if it gets better again.
      Reuse the refreshVolumes logical for the old way can not delete all things related the failed valume. 
      Add a new method checkFailedVolume to DatasetVolumeChecker to schedule task for checking failed volume repeatly.

      Attachments

        1. HDFS-15001.patch
          28 kB
          Yang Yun

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hadoop_yangyun Yang Yun
            hadoop_yangyun Yang Yun

            Dates

              Created:
              Updated:

              Slack

                Issue deployment