title: Hadoop start-all.cmd command : datanode shutting down
body: <p>I am trying to install hadoop in my windows 10 </p>
  
  <p>Reference : <a href="https://github.com/MuhammadBilalYar/Hadoop-On-Window/wiki/Step-by-step-Hadoop-2.8.0-installation-on-Window-10" rel="nofollow noreferrer">https://github.com/MuhammadBilalYar/Hadoop-On-Window/wiki/Step-by-step-Hadoop-2.8.0-installation-on-Window-10</a> </p>
  
  <p>Hadoop start-all.cmd command start namenode , resourceManager and nodeManager successfully but datanode not started</p>
  
  <p>Error :: </p>
  
  <pre><code>checker.StorageLocationChecker: Exception checking StorageLocation [DISK]file:/C:/hadoop-3.1.1/data/datanode
  java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$POSIX.stat(Ljava/lang/String;)Lorg/apache/hadoop/io/nativeio/NativeIO$POSIX$Stat;
          at org.apache.hadoop.io.nativeio.NativeIO$POSIX.stat(Native Method)
          at org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:455)
          at org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfoByNativeIO(RawLocalFileSystem.java:796)
          at org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfo(RawLocalFileSystem.java:710)
          at org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.getPermission(RawLocalFileSystem.java:678)
          at org.apache.hadoop.util.DiskChecker.mkdirsWithExistsAndPermissionCheck(DiskChecker.java:233)
          at org.apache.hadoop.util.DiskChecker.checkDirInternal(DiskChecker.java:141)
          at org.apache.hadoop.util.DiskChecker.checkDir(DiskChecker.java:116)
          at org.apache.hadoop.hdfs.server.datanode.StorageLocation.check(StorageLocation.java:239)
          at org.apache.hadoop.hdfs.server.datanode.StorageLocation.check(StorageLocation.java:52)
          at org.apache.hadoop.hdfs.server.datanode.checker.ThrottledAsyncChecker$1.call(ThrottledAsyncChecker.java:142)
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
          at java.lang.Thread.run(Thread.java:748)
  2018-12-28 11:19:03,023 ERROR datanode.DataNode: Exception in secureMain
  org.apache.hadoop.util.DiskChecker$DiskErrorException: Too many failed volumes - current valid volumes: 0, volumes configured: 1, volumes failed: 1, volume failures tolerated: 0
          at org.apache.hadoop.hdfs.server.datanode.checker.StorageLocationChecker.check(StorageLocationChecker.java:220)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2762)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2677)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2719)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2863)
          at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2887)
  2018-12-28 11:19:03,031 INFO util.ExitUtil: Exiting with status 1: org.apache.hadoop.util.DiskChecker$DiskErrorException: Too many failed volumes - current valid volumes: 0, volumes configured: 1, volumes failed: 1, volume failures tolerated: 0
  2018-12-28 11:19:03,079 INFO datanode.DataNode: SHUTDOWN_MSG:
  /************************************************************
  SHUTDOWN_MSG: Shutting down DataNode at BHARTI/192.168.2.161
  ************************************************************/
  </code></pre>