datanode.DataNode: Invalid dfs.datanode.data.dir F:\hadoop-2.7.1\hadoop-2.7.1\etc\hadoop\data\namenode : 0: Unknown error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via toodey.com by Unknown author, 1 year ago
Invalid dfs.datanode.data.dir F:\hadoop-2.7.1\hadoop-2.7.1\etc\hadoop\data\namenode : 0: Unknown error
datanode.DataNode: Invalid dfs.datanode.data.dir F:\hadoop-2.7.1\hadoop-2.7.1\etc\hadoop\data\namenode : 0: Unknown error
at org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmod(NativeIO.java:241)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:724)
at org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:502)
at org.apache.hadoop.util.DiskChecker.mkdirsWithExistsAndPermissionCheck(DiskChecker.java:140)
at org.apache.hadoop.hdfs.server.datanode.DataNode$DataNodeDiskChecker.checkDir(DataNode.java:2344)
at org.apache.hadoop.hdfs.server.datanode.DataNode.checkStorageLocations(DataNode.java:2386)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2368)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2260)
at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2307)
at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2484)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.