hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Walter Su (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9232) Shouldn't start block recovery if block has no enough replicas
Date Tue, 13 Oct 2015 03:32:05 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Walter Su updated HDFS-9232:
----------------------------
    Attachment: HDFS-9232.01.patch

> 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
>            Assignee: Walter Su
>         Attachments: HDFS-9232.01.patch
>
>
> 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)

Mime
View raw message