title: HDFS 'No such file or directory' error when trying to copy csv from one directory to another
body: <p>I am using Hortonworks Sandbox (not sure if this matters) and was trying to copy a csv file from '/user/root/' directory into '/user/nyc_taxi/' directory but it gave me a 'No such file or directory' error. I am very sure the csv, called 'yellow_tripdata_2016_01.csv', is in the '/user/root/' directory.</p>
  
  <p>I use Windows 10 and below are the commands I wrote in terminal:</p>
  
  <pre><code>&gt;sudo su - hdfs
  &gt;hdfs dfs -mkdir /user/root
  &gt;hdfs dfs -mkdir /user/nyc_taxi
  &gt;hdfs dfs -chown root:hdfs /user/root
  &gt;hdfs dfs -chown root:hdfs /user/nyc_taxi
  &gt;exit
  &gt;hadoop fs -put yellow_tripdata_2016_01.csv /user/nyc_taxi/
  </code></pre>
  
  <p>The first 6 commands had no problem. But when I ran the last one the terminal returned the 'No such file or directory' error. I had also tried specifying the actual path of the csv by running this command: </p>
  
  <pre><code>hadoop fs -put /user/root/yellow_tripdata_2016_01.csv /user/nyc_taxi/ 
  </code></pre>
  
  <p>But the same error message still showed up. </p>
  
  <p>As can be seen from the screenshot below, the csv file is clearly in the '/user/root/' directory.
  <a href="https://i.stack.imgur.com/ce3ZE.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ce3ZE.jpg" alt="enter image description here"></a></p>
  
  <p>Any feedback/recommendation is greatly appreciated!</p>