Hi,
I want to put a file from local FS to HDFS but at the end I get an error 
message and the copied file has zero size. Can someone help with an idea?

$ cat urlsdir/urllist.txt
http://lucene.apache.org

$ hadoop dfs -put urlsdir/urllist.txt urlsdir
put: java.io.IOException: File /user/mahmood/urlsdir could only be replicated 
to 0 nodes, instead of 1

$ hadoop dfs -ls
Found 1 items
-rw-r--r--   1 mahmood supergroup          0 2014-04-04 21:20 
/user/mahmood/urlsdir



Regards,
Mahmood

Reply via email to