Can you check total running datanodes in your cluster and also free hdfs space?
Thanks Jitendra On Fri, Apr 4, 2014 at 9:53 AM, Mahmood Naderan <[email protected]>wrote: > 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 >
