Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Datanode is not starting

avatar
Rising Star

I tried to add another host via cloudera manager .

I followed the below steps

1. Hosts - > Add hosts -> provided the ip address -> CM asked me to create a host template but i gave none and finised .

2. Found the host in good health .

3. Cluster -> HDFS -> Instances -> Add -> I added a Datanode with the new hosts.

 

(Now the Datanode i added was not starting , When i search for logs via UI i dont find any . I searched for logs in logs/datanode folder , but there was no Datanode folder in Var .)

 

4. Cluster -> Deploy client Configuration -> Completed -> Still the Datanode was not starting .

 

Please help .

 

Thanks

Bala

Thanks
Bala
1 ACCEPTED SOLUTION

avatar
The fatal message is more interesting than the warning. It's complaining about incompatible cluster ids.

Are you adding a datanode that already has data in the data dir on local disk? The data there probably has a conflicting cluster id. You should probably delete the local data dir(s) (or move them out of the way).

View solution in original post

10 REPLIES 10

avatar
New Contributor

Format the datanode using the ID

hdfs namenode -format -clusterId a0bb577e-3180-46e3-bc17-982bfc576011

Restart the datanode, it will start fine.