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

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

    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

            People

              walter.k.su Walter Su
              walter.k.su Walter Su
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: