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 ./hdfs namenode -format -clusterId CID-8bf63244-0510-4db6-a949-8f74b50f2be9 then this code formatted the namenode with datanode cluster ids.

Hadoop “Unable to load native-hadoop library for your platform” warning

I assume you’re running Hadoop on 64bit CentOS. The reason you saw that warning is the native Hadoop library $HADOOP_HOME/lib/native/libhadoop.so.1.0.0 was actually compiled on 32 bit. Anyway, it’s just a warning, and won’t impact Hadoop’s functionalities. Here is the way if you do want to eliminate this warning, download the source code of Hadoop and … Read more