hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <...@yahoo-inc.com>
Subject Re: hdfsLock
Date Thu, 28 Feb 2008 19:45:55 GMT

On Feb 28, 2008, at 9:45 AM, Ahmad Humayun wrote:

> Do you any reason why? Is it because only one thread can write to a  
> specific
> file in the hdfs at a single time....and multiple simultaneous readers
> doesn't cause any problem...hence locks make no sense in this  
> situation???

Locks were removed because they didn't provide any notification when  
your lock was broken. Therefore, the interface didn't actually  
provide you any guarantees of exclusiveness.

-- Owen

Mime
View raw message