[
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: [email protected]
For additional commands, e-mail: [email protected]