hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Shvachko <...@yahoo-inc.com>
Subject Re: What will happen if two processes writes the same HDFS file
Date Mon, 11 Aug 2008 22:58:57 GMT
This deserves to be in Hadoop FAQ imo.
Do you guys want to add it?

11 Nov. wrote:
> Dhruba,
>   thanks a lot!
> 
> 2008/8/10 Dhruba Borthakur <dhruba@gmail.com>
> 
>> When the first one contacts the namenode to open the file for writing,
>> the namenode records this info in a "lease". When the second process
>> contacts the namenode to  open the same file for writing, the namenode
>> sees that a "lease" already exists for the file and rejects the
>> request from the second process.
>>
>>
>>
>> On Sat, Aug 9, 2008 at 8:30 PM, 11 Nov. <nov.eleventh@gmail.com> wrote:
>>> IMHO, there must be one process that fails the write.
>>>
> 

Mime
View raw message