title: Copying sample of file from hdfs to local fs?
body: <p>Ok,</p>
  
  <p>A very stupid question...</p>
  
  <p>I have a large file in hdfs</p>
  
  <pre><code>/user/input/foo.txt
  </code></pre>
  
  <p>I want to copy first 100 lines from this location to local filesystem...</p>
  
  <p>And the data is very sensitive so i am bit hesistant to experiment.</p>
  
  <p>What is the right way to copy sample data from hdfs to local fs.</p>