Wednesday, 28 August 2013

hadoop fs -put command

hadoop fs -put command

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

No comments:

Post a Comment