针对Hadoop启动时出现持续处于安全模式的现象
发布时间
阅读量:
阅读量
Hadoop退出安全模式
- 在HDFS配置文件中修改安全模式阀值
在配置HDFS的安全阀值相关参数时,请参考文档中的详细说明。其中,默认取值设定为0.999f。当将其设置为1时,则跳过安全验证步骤。
<property>
<name>dfs.safemode.threshold.pct</name>
<value>0.999f</value>
<description>
Specifies the percentage of blocks that should satisfy
the minimal replication requirement defined by dfs.replication.min.
Values less than or equal to 0 mean not to wait for any particular
percentage of blocks before exiting safemode.
Values greater than 1 will make safe mode permanent.
</description>
</property>
由于在配置文件中实施硬修改可能会导致管理员的操作
全部评论 (0)
还没有任何评论哟~
