FAQ
With just 1 block on the HDFS cluster, NN exits safemode on startup immediately.
--------------------------------------------------------------------------------

Key: HDFS-2311
URL: https://issues.apache.org/jira/browse/HDFS-2311
Project: Hadoop HDFS
Issue Type: Bug
Components: name-node
Affects Versions: 0.20.203.0
Reporter: Harsh J
Priority: Minor


This is cause:

(int) ((1 Block) * (0.999f Threshold Default Pct)) == 0, in which case SafeModeInfo's checks of modes makes an simple, direct exit of the safemode.

Faulty code is possibly in FSNamesystem#setBlockTotal. This is a non major issue since with 2 blocks it would work fine, and will work fine with 1.0f Threshold Pct too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedSep 5, '11 at 5:48p
activeSep 5, '11 at 5:48p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Harsh J (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase