- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Datanode is not starting
- Labels:
-
Cloudera Manager
-
HDFS
Created on 07-07-2014 02:46 AM - edited 09-16-2022 02:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Bala
Created 07-31-2014 11:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
Created 12-20-2018 12:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Format the datanode using the ID
hdfs namenode -format -clusterId a0bb577e-3180-46e3-bc17-982bfc576011
Restart the datanode, it will start fine.

- « Previous
-
- 1
- 2
- Next »