ERROR datanode.DataNode (BPServiceActor.java:run(829)) - Initialization failed for Block pool <regi

ERROR datanode.DataNode (BPServiceActor.java:run(829)) - Initialization failed for Block pool <regi,第1张

ERROR datanode.DataNode (BPServiceActor.java:run(829)) - Initialization failed for Block pool <regi
2021-12-07 13:50:58,734 ERROR datanode.DataNode (BPServiceActor.java:run(829)) - Initialization failed for Block pool  (Datanode Uuid unassigned) service to dn27.hadoop.unicom/10.162.145.27:8020. Exiting. 
java.io.IOException: All specified directories have failed to load.

解决
删除datanode目录下的hdfs存储,重新启动datanode即可

[root@nn26 hadoop]# cd /data/disk01/hadoop
[root@nn26 hadoop]# ll
total 8
drwxr-xr-x 3 hdfs hadoop 4096 Nov 24 16:18 hdfs
drwxr-xr-x 4 root root   4096 Nov 25 17:29 yarn
[root@nn26 hadoop]# sudo rm -r hdfs/
[root@nn26 hadoop]# ll
total 4
drwxr-xr-x 4 root root 4096 Nov 25 17:29 yarn
[root@nn26 hadoop]# pwd

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5653590.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-16

发表评论

登录后才能评论

评论列表(0条)

保存