hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Serrano <mar...@attivio.com>
Subject RE: writing throughput vs replication
Date Tue, 22 Mar 2011 22:10:08 GMT
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:qwertymaniac@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.rothstein@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!

Mime
View raw message