Is there a way to determine how many complete replicas there are of a file? That is, can I find out that the async replication has completed?
Thanks, Martin >-----Original Message----- >From: Harsh J [mailto:qwertyman...@gmail.com] >Sent: Thursday, March 17, 2011 12:35 PM >To: hdfs-user@hadoop.apache.org >Subject: Re: writing throughput vs replication > >Have a read of the replication feature design: >http://hadoop.apache.org/common/docs/r0.20.0/hdfs_design.html#Data+Replication >:) > >On Thu, Mar 17, 2011 at 9:59 PM, Andrew Rothstein <andrew.rothst...@gmail.com> >wrote: >> If I'm using a replication factor of 3 and I write a block of data >> will my write operation block until the data is present on 3 nodes? > >No. > >> will it block until the data is present on 1 node and asynchronously >> replicate from there to 2 other nodes? > >Yes!