title: UnsatisfiedLinkError (NativeIO$Windows.access0) when submitting mapreduce job to hadoop 2.2 from windows to ubuntu
body: <p>I submit my mapreduce jobs from a java application running on windows to the hadoop 2.2 cluster running on ubuntu. In hadoop 1.x this worked as expected but on hadoop 2.2 I get a strange Error:</p>
  
  <p><em>java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z</em></p>
  
  <p>I compiled the necesary windows libraries (hadoop.dll and winutils.exe) and can access the hdfs via code and read the cluster information using hadoop API. Only the job submission does not work.</p>
  
  <p>Any help is aprecciated.</p>
  
  <p><strong>Solution</strong>: I found it out myself, the path where the windows hadoop binaries can be found has to be added to the PATH variable of windows.</p>