You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2019/11/04 15:00:00 UTC

[jira] [Updated] (HDFS-14952) Skip safemode if blockSafe is 0 in new NN

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

Rajesh Balamohan updated HDFS-14952:
------------------------------------
    Description: 
When new NN is installed, it spends 30-45 seconds in Safemode. When {{blockTotal}} is 0, it should be possible to short circuit safemode check in {{BlockManagerSafeMode::areThresholdsMet}}.

https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerSafeMode.java#L571

  was:When new NN is installed, it spends 30-45 seconds in Safemode. When {{blockTotal}} is 0, it should be possible to short circuit safemode check in {{BlockManagerSafeMode::areThresholdsMet}}.


> Skip safemode if blockSafe is 0 in new NN
> -----------------------------------------
>
>                 Key: HDFS-14952
>                 URL: https://issues.apache.org/jira/browse/HDFS-14952
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Rajesh Balamohan
>            Priority: Trivial
>
> When new NN is installed, it spends 30-45 seconds in Safemode. When {{blockTotal}} is 0, it should be possible to short circuit safemode check in {{BlockManagerSafeMode::areThresholdsMet}}.
> https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerSafeMode.java#L571



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org