Some basic questions on replication

2010-11-04 Thread Hari Sreekumar
Hi, I have some pretty basic stuff on replication that I am no very clear about, even after reading the online docs.. 1. My understanding is that replication factor of x means any block of data in HDFS will be available, given enough time, at x different nodes. I have a confusion whether it is x

Re: Some basic questions on replication

2010-11-04 Thread Harsh J
Hi, The following inline reply is from what I know so far. On Thu, Nov 4, 2010 at 11:24 PM, Hari Sreekumar wrote: > Hi, > >  I have some pretty basic stuff on replication that I am no very clear > about, even after reading the online docs.. > > 1. My understanding is that replication factor of x

Re: Some basic questions on replication

2010-11-04 Thread Hari Sreekumar
Hi Harsh, Thanks for the reply. So if I have a 2048 MB file with 64 MB block size (32 blocks) with replication 3, then I'll have 96 blocks of the file on HDFS, with no two similar blocks being on the same datanode. Also, if I change the dfs.replication property, does it effect files a

Re: Some basic questions on replication

2010-11-04 Thread Harsh J
Hello again, On Fri, Nov 5, 2010 at 12:52 AM, Hari Sreekumar wrote: > Hi Harsh, > >             Thanks for the reply. So if I have a 2048 MB file with 64 MB > block size (32 blocks) with replication 3, then I'll have 96 blocks of the > file on HDFS, with no two similar blocks being on the same da