You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2011/06/12 16:15:05 UTC
[Hadoop Wiki] Update of "FAQ" by QwertyManiac
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "FAQ" page has been changed by QwertyManiac:
http://wiki.apache.org/hadoop/FAQ?action=diff&rev1=99&rev2=100
== Does the name-node stay in safe mode till all under-replicated files are fully replicated? ==
No. During safe mode replication of blocks is prohibited. The name-node awaits when all or majority of data-nodes report their blocks.
- Depending on how safe mode parameters are configured the name-node will stay in safe mode until a specific percentage of blocks of the system is ''minimally'' replicated [[http://hadoop.apache.org/core/docs/current/hadoop-default.html#dfs.replication.min|dfs.replication.min]]. If the safe mode threshold [[http://hadoop.apache.org/core/docs/current/hadoop-default.html#dfs.safemode.threshold.pct|dfs.safemode.threshold.pct]] is set to 1 then all blocks of all files should be minimally replicated.
+ Depending on how safe mode parameters are configured the name-node will stay in safe mode until a specific percentage of blocks of the system is ''minimally'' replicated [[http://hadoop.apache.org/core/docs/current/hdfs-default.html#dfs.replication.min|dfs.replication.min]]. If the safe mode threshold [[http://hadoop.apache.org/core/docs/current/hdfs-default.html#dfs.safemode.threshold.pct|dfs.safemode.threshold.pct]] is set to 1 then all blocks of all files should be minimally replicated.
Minimal replication does not mean full replication. Some replicas may be missing and in order to replicate them the name-node needs to leave safe mode.