Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Data Node Not Starting

Solved Go to solution
Highlighted

Data Node Not Starting

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

Accepted Solutions
Highlighted

Re: Data Node Not Starting

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
Highlighted

Re: Data Node Not Starting

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

Highlighted

Re: Data Node Not Starting

Explorer

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

Highlighted

Re: Data Node Not Starting

Explorer

In my case , I see this problem right now

Re: Data Node Not Starting

Is there getting same warning or anything else?

Don't have an account?
Coming from Hortonworks? Activate your account here