hdfs报错:There are 0 datanode(s) running and 0 node(s) are excluded in this operation

namenode的日志还是打印There are 0 datanode(s) running and 0 node(s) are excluded in this operation.吗

 

报错信息如下所示。其中,【X】是当前正在运行的DataNode数量,【Y】是被排除在此操作之外的DataNode数量。

问题原因

该问题表示在当前的集群状态下,因为无法满足文件的最小副本数量,HDFS无法将文件写入到指定路径中。

解决方案

https://help.aliyun.com/zh/emr/emr-on-ecs/user-guide/handle-the-issue-that-the-requirement-for-the-minimum-number-of-replicas-cannot-be-met-when-i-write-data?spm=a2c4g.11186623.0.i2

 

 
 
posted @   所向披靡zz  阅读(403)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· winform 绘制太阳,地球,月球 运作规律
· AI与.NET技术实操系列(五):向量存储与相似性搜索在 .NET 中的实现
· 超详细:普通电脑也行Windows部署deepseek R1训练数据并当服务器共享给他人
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 上周热点回顾(3.3-3.9)
点击右上角即可分享
微信分享提示