title: hadoop fs -put command
body: <p>I have constructed a single-node Hadoop environment on CentOS using the Cloudera CDH repository.  When I want to copy a local file to HDFS, I used the command:</p>
  
  <pre><code>sudo -u hdfs hadoop fs -put /root/MyHadoop/file1.txt /
  </code></pre>
  
  <p>But,the result depressed me:</p>
  
  <pre><code>put: '/root/MyHadoop/file1.txt': No such file or directory
  </code></pre>
  
  <p>I'm sure this file does exist.</p>
  
  <p>Please help me,Thanks!</p>