Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Data Node Not Starting

avatar

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

1 ACCEPTED SOLUTION

avatar

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

View solution in original post

4 REPLIES 4

avatar

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

avatar

What if all the permission are correct but the data node does not start

avatar

In my case , I see this problem right now

avatar

Is there getting same warning or anything else?