title: Hadoop fs -cp , says file does not exist?
body: <p>The file new.txt is available for sure; I dunno why when I'm trying to move into directory of hdfs, it's saying file doesn't exist.</p>
  
  <pre><code>deepak@deepak:/$ cd $HOME/fs
  deepak@deepak:~/fs$ ls
  new.txt
  deepak@deepak:~/fs$ cat new.txt
  an apple a day keeps the doctor away
  deepak@deepak:~/fs$ hadoop fs -cp $HOME/fs/new.txt $HOME/hdfs
  cp: File does not exist: /home/deepak/fs/new.txt
  deepak@deepak:~/fs$ 
  </code></pre>
  
  <p>PS: I have created a directory called hdfs already:</p>
  
  <pre><code>deepak@deepak:~/fs$ hadoop fs -mkdir $HOME/hdfs
  mkdir: cannot create directory /home/deepak/hdfs: File exists
  </code></pre>