HDFS处于安全模式,因为报告的块未达到总块的0.9990

当NameNode在HDFS重启后报告所报告的块未达到总块的0.9990阈值时,系统会进入安全模式。这是因为NameNode在等待足够的数据节点发送初始块报告来构建块副本的映射。如果未达到安全复制阈值,它将不会自动退出,可能需要管理员手动干预。解决方案包括确保数据节点正常通信或强制退出安全模式。
摘要由CSDN通过智能技术生成

After a node failure and restarting the HDFS, the NameNode reports:

节点发生故障并重新启动HDFS之后,NameNode报告:

“The reported blocks 1968810 needs additional 5071 blocks to reach the threshold 0.9990 of total blocks 1975856. Safe mode will be turned off automatically.”

“所报告的块1968810需要另外的5071个块才能达到总块1975856的阈值0.9990。安全模式将自动关闭。”

in the log.

在日志中。

Why this happens? And how to fix it?

为什么会这样? 以及如何解决?

About why the NameNode stays in the safe mode:

关于NameNode为何保持安全模式的原因:

At startup time, the namenode reads its namespace from disk (the
FSImage and edits files). This includes all the HDFS filenames and
block lists that it should know, but not the mappings of block
replicas to datanodes. Then it waits in safe mode for all or most of

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值