hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kihwal Lee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8716) introduce a new config specifically for safe mode block count
Date Mon, 06 Jul 2015 20:29:04 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615593#comment-14615593

Kihwal Lee commented on HDFS-8716:

I think the minimum replication factor enforced for block allocations and replications can
be separate from the factor used for calculating safe block count. We can make it use {{dfs.namenode.replication.min}}
if the new config is not set.

> introduce a new config specifically for safe mode block count
> -------------------------------------------------------------
>                 Key: HDFS-8716
>                 URL: https://issues.apache.org/jira/browse/HDFS-8716
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Chang Li
>            Assignee: Chang Li
>         Attachments: HDFS-8716.1.patch
> During the start up, namenode waits for n replicas of each block to be reported by datanodes
before exiting the safe mode. Currently n is tied to the min replicas config. We could set
min replicas to more than one but we might want to exit safe mode as soon as each block has
one replica reported. This can be worked out by introducing a new config variable for safe
mode block count

This message was sent by Atlassian JIRA

View raw message