- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Data Node Not Starting
- Labels:
-
Apache Hadoop
Created 11-12-2015 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following error is generated when adding a new data node to the cluster:
WARN datanode.DataNode (DataNode.java:checkStorageLocations(2407)) - Invalid dfs.datanode.data.dir
Created 11-12-2015 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even if the path is right, check the permissions. Typically the hdfs user should be the owner the group should be hadoop for the data directory:
chown -R hdfs /path-to-your-datanode-data-dir
chgrp -R hadoop /path-to-your-datanode-data-dir
chmod 750 /path-to-your-datanode-data-dir
Created 11-12-2015 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Even if the path is right, check the permissions. Typically the hdfs user should be the owner the group should be hadoop for the data directory:
chown -R hdfs /path-to-your-datanode-data-dir
chgrp -R hadoop /path-to-your-datanode-data-dir
chmod 750 /path-to-your-datanode-data-dir
Created 05-19-2016 04:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What if all the permission are correct but the data node does not start
Created 05-19-2016 04:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In my case , I see this problem right now
Created 05-23-2016 05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there getting same warning or anything else?
