title: Reading files from hdfs vs local directory
body: <p>I am a beginner in hadoop. I have two doubts</p>
  
  <p>1) how to access files stored in the hdfs? Is it same as using a FileReader in java.io and giving the local path or is it something else?</p>
  
  <p>2) i have created a folder where i have copied the file to be stored in hdfs and the jar file of the mapreduce program. When I run the command in any directory</p>
  
  <pre><code>${HADOOP_HOME}/bin/hadoop dfs -ls
  </code></pre>
  
  <p>it just shows me all the files in the current dir. So does that mean all the files got added without me explicitly adding it?</p>