title: copyToLocal: No such file or directory
body: <p>I am trying to copy a file from hadoop hdfs to local with the following command:</p>
  
  <pre><code>bin/hadoop fs -copyToLocal /user/nj/dir/hfile file:///home/nj/lfile
  copyToLocal
  </code></pre>
  
  <p>and getting </p>
  
  <blockquote>
    <p>No such file or directory</p>
  </blockquote>
  
  <p>However, <code>ls</code> works, and I am able to read the file contents using <code>cat</code>. Tried get and sudo option but same error.</p>