Hadoop security Mode

Source: Internet
Author: User
SafeMode mode
Namenode first enters Safe mode when booting, if Datanode lost block reaches a certain proportion (1-dfs.safemode.threshold.pct), then the system will always be in Safe mode state is read-only state.
dfs.safemode.threshold.pct (default 0.999f) indicates when HDFs is started, if the number of blocks escalated by Datanode reaches the meta 0.999 times times the number of blocks in the data record can leave Safe mode, otherwise this is always read-only mode. If set to 1, HDFs is always in safemode.
The following line extracts the log from the Namenode startup (block escalation ratio 1 to the threshold 0.9990)
The ratio of reported blocks 1.0000 has reached the threshold 0.9990. Safe mode is turned off automatically in seconds.
Hadoop Dfsadmin-safemode Leave
There are two ways to get out of this safe mode
1. Modify the dfs.safemode.threshold.pct to a relatively small value, the default is 0.999.
2. Hadoop dfsadmin-safemode leave command forced to leave
Http://bbs.hadoopor.com/viewthread.php?tid=61&extra=page%3D1

Hadoop security Mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.