hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mahmood Naderan <nt_mahm...@yahoo.com>
Subject IOException when using "dfs -put"
Date Fri, 04 Apr 2014 16:53:05 GMT
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
Mime
View raw message