Datanode not starts correctly


You can do the following method,

copy to clipboard datanode clusterID for your example, CID-8bf63244-0510-4db6-a949-8f74b50f2be9

and run following command under HADOOP_HOME/bin directory

then this code formatted the namenode with datanode cluster ids.

OR

ou must do as follow :

  • bin/stop-all.sh
  • rm -Rf /home/prassanna/usr/local/hadoop/yarn_data/hdfs/*
  • bin/hadoop namenode -format

I had the same problem until I found an answer in this web site.

Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *