Walter Su created HDFS-9232: ------------------------------- Summary: Shouldn't start block recovery if block has no enough replicas Key: HDFS-9232 URL: https://issues.apache.org/jira/browse/HDFS-9232 Project: Hadoop HDFS Issue Type: Bug Reporter: Walter Su
from HDFS-8406: {quote} 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. {quote} -- This message was sent by Atlassian JIRA (v6.3.4#6332)