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
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)