hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jitendra Yadav <jeetuyadav200...@gmail.com>
Subject Re: IOException when using "dfs -put"
Date Fri, 04 Apr 2014 17:14:01 GMT
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 <nt_mahmood@yahoo.com>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
>

Mime
View raw message