title: Yarn Nodemanager not starting on windows binaries
body: <p>I have compiled the hadoop binaries on windows x64 machine.. I also built the native source in the path
  hadoop-2.6.0-src.tar\hadoop-2.6.0-src\hadoop-2.6.0-src\hadoop-common-project\hadoop-common\src\main\native</p>
  
  <p>and the corresponding dll and winutils into my bin folder...</p>
  
  <p>The dfs is starting fine...
  But nodemanager yarn component is not starting.. Its start failing with following error...</p>
  
  <pre><code>15/03/24 17:28:22 FATAL nodemanager.NodeManager: Error starting NodeManager
  java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
          at org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Native Method)
          at org.apache.hadoop.io.nativeio.NativeIO$Windows.access(NativeIO.java:557)
          at org.apache.hadoop.fs.FileUtil.canRead(FileUtil.java:977)
          at org.apache.hadoop.util.DiskChecker.checkAccessByFileMethods(DiskChecker.java:187)
          at org.apache.hadoop.util.DiskChecker.checkDirAccess(DiskChecker.java:174)
          at org.apache.hadoop.util.DiskChecker.checkDir(DiskChecker.java:108)
          at org.apache.hadoop.yarn.server.nodemanager.DirectoryCollection.testDirs(DirectoryCollection.java:292)
          at org.apache.hadoop.yarn.server.nodemanager.DirectoryCollection.checkDirs(DirectoryCollection.java:231)
          at org.apache.hadoop.yarn.server.nodemanager.LocalDirsHandlerService.checkDirs(LocalDirsHandlerService.java:355)
          at org.apache.hadoop.yarn.server.nodemanager.LocalDirsHandlerService.serviceInit(LocalDirsHandlerService.java:160)
          at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
          at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
          at org.apache.hadoop.yarn.server.nodemanager.NodeHealthCheckerService.serviceInit(NodeHealthCheckerService.java:48)
          at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
          at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
          at org.apache.hadoop.yarn.server.nodemanager.NodeManager.serviceInit(NodeManager.java:253)
          at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
          at org.apache.hadoop.yarn.server.nodemanager.NodeManager.initAndStartNodeManager(NodeManager.java:462)
          at org.apache.hadoop.yarn.server.nodemanager.NodeManager.main(NodeManager.java:509)
  15/03/24 17:28:22 INFO impl.MetricsSystemImpl: Stopping NodeManager metrics system...
  15/03/24 17:28:22 INFO impl.MetricsSystemImpl: NodeManager metrics system stopped.
  15/03/24 17:28:22 INFO impl.MetricsSystemImpl: NodeManager metrics system shutdown complete.
  15/03/24 17:28:22 INFO nodemanager.NodeManager: SHUTDOWN_MSG:
  /************************************************************
  SHUTDOWN_MSG: Shutting down NodeManager at ing5nb014
  ************************************************************/
  </code></pre>