#ubuntu – java.io.IOException: All directories in dfs.datanode.data.dir are invalid
Explore tagged Tumblr posts
Text
ubuntu – java.io.IOException: All directories in dfs.datanode.data.dir are invalid
1.sudo chown vaughn:hadoop -R /usr/local/hadoop_store
where hadoop is group name. use
grep vaughn /etc/group
in your terminal to see your group name.
2.clean temporary directories.
3.Format the name node.
Hope this helps.
Looks like its a permission issue, The user which is used to start datanode should have write access in the data node -data directories.
Try to execute the below command before starting datanode service.
0 notes