hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-2311) With just 1 block on the HDFS cluster, NN exits safemode on startup immediately.
Date Mon, 05 Sep 2011 17:48:10 GMT
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

        

Mime
View raw message