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

Shouldn't start block recovery if block has no enough replicas

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

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      from HDFS-8406:

      Before primary DN calls commitBlockSynchronization, it synchronized 2 RBW replicas, and make them finalized. Then primary DN calls commitBlockSynchronization, to complete the lastBlock and close the file. The question is, your dfs.namenode.replication.min is 3, the last block can't be completed. NameNode shouldn't issue blockRecovery in the first place because lastBlock can't be completed anyway.

      Attachments

        1. HDFS-9232.01.patch
          9 kB
          Walter Su

        Issue Links

        Activity

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

          People

            walter.k.su Walter Su
            walter.k.su Walter Su

            Dates

              Created:
              Updated:

              Slack

                Issue deployment