title: Error while running mapreduce program on hadoop using java
body: <p>Hey guys I m following <a href="http://www.tutorialspoint.com/hadoop/hadoop_mapreduce.htm" rel="nofollow">http://www.tutorialspoint.com/hadoop/hadoop_mapreduce.htm</a> . After running the program using this </p>
  
  <pre><code>hadoop jar units.jar hadoop.ProcessUnits input_dir output_dir
  </code></pre>
  
  <p>I m getting the following error:</p>
  
  <blockquote>
    <p>16/09/04 20:32:14 WARN util.NativeCodeLoader: Unable to load
    native-hadoop library for your platform... using builtin-java classes
    where applicable </p>
    
    <p>16/09/04 20:32:15 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id </p>
    
    <p>16/09/04 20:32:15 
        INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId= </p>
    
    <p>16/09/04 20:32:15 
        INFO jvm.JvmMetrics: Cannot initialize JVM Metrics with processName=JobTracker, sessionId= - already initialized </p>
    
    <p>16/09/04
    20:32:15 WARN mapreduce.JobResourceUploader: Hadoop command-line
    option parsing not performed. Implement the Tool interface and execute
    your application with ToolRunner to remedy this. </p>
    
    <p>16/09/04 20:32:15 
        INFO mapreduce.JobSubmitter: Cleaning up the staging area file:/app/hadoop/tmp/mapred/staging/hduser932260839/.staging/job_local932260839_0001
    Exception in thread "main" ExitCodeException exitCode=1: chmod: cannot
    access
    `/app/hadoop/tmp/mapred/staging/hduser932260839/.staging/job_local932260839_0001':
    No such file or directory</p>
  </blockquote>