title: Hadoop is asking for the input path to be on localhost 9000
body: <p>I am trying to run the Tom Whites' Chapter 2 example</p>
  
  <p>When I run the command:</p>
  
  <pre><code>hadoop MaxTemperature input/ncdc/sample.txt output
  </code></pre>
  
  <p>The error I am getting is this:</p>
  
  <pre><code>11/12/31 18:08:28 INFO mapred.JobClient: Cleaning up the staging area hdfs://localhost:9000/tmp/hadoop-mymac/mapred/staging/mymac/.staging/job_201112311807_0001
  11/12/31 18:08:28 ERROR security.UserGroupInformation: PriviledgedActionException as:mymac (auth:SIMPLE) cause:org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://localhost:9000/user/mymac/input/ncdc/sample.txt
  Exception in thread "main" org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: hdfs://localhost:9000/user/mymac/input/ncdc/sample.txt
  </code></pre>
  
  <p>What is it that I have set wrong?</p>
  
  <p>I haven't touched his source code, it can be found in here:</p>
  
  <p><a href="https://github.com/tomwhite/hadoop-book/tree/3e/ch02" rel="nofollow">https://github.com/tomwhite/hadoop-book/tree/3e/ch02</a></p>