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

toodey.com | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Hadoop installation on windows without cygwin in 10 mints

    toodey.com | 4 months ago
    datanode.DataNode: Invalid dfs.datanode.data.dir F:\hadoop-2.7.1\hadoop-2.7.1\etc\hadoop\data\namenode : 0: Unknown error

    Root Cause Analysis

    1. 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()
    2. Hadoop
      DiskChecker.checkDir
      1. org.apache.hadoop.io.nativeio.NativeIO$POSIX.chmod(NativeIO.java:241)
      2. org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:724)
      3. org.apache.hadoop.fs.FilterFileSystem.setPermission(FilterFileSystem.java:502)
      4. org.apache.hadoop.util.DiskChecker.mkdirsWithExistsAndPermissionCheck(DiskChecker.java:140)
      5. org.apache.hadoop.util.DiskChecker.checkDir(DiskChecker.java:156)
      5 frames
    3. Apache Hadoop HDFS
      DataNode.main
      1. org.apache.hadoop.hdfs.server.datanode.DataNode$DataNodeDiskChecker.checkDir(DataNode.java:2344)
      2. org.apache.hadoop.hdfs.server.datanode.DataNode.checkStorageLocations(DataNode.java:2386)
      3. org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2368)
      4. org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2260)
      5. org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2307)
      6. org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2484)
      7. org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2508)
      7 frames