hadoop-hdfs-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
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

$ 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

View raw message