hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmad Humayun" <ahmad.hu...@gmail.com>
Subject Re: hdfsLock
Date Thu, 28 Feb 2008 17:45:08 GMT
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???

thanks for the help.


regards,

On Thu, Feb 28, 2008 at 10:28 PM, Raghu Angadi <rangadi@yahoo-inc.com>
wrote:

>
> File locking is not supported in HDFS. Not sure if it ever was supported
> properly. This interface was deprecated last year.
>
> Raghu.
>
> Ahmad Humayun wrote:
> > Hello everyone,
> >
> > Does anybody have an idea why hdfsLock and hdfsReleaseLock been taken
> out of
> > libhdfs? How do I lock a file now using libhdfs? Can somebody point me
> to
> > the changelog or smth?
> >
> >
> > regards,
>
>


-- 
Ahmad Humayun
Research Assistant
Computer Science Dpt., LUMS
+92 321 4457315

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message