Re: hdfsLock

2008-03-03 Thread Ahmad Humayun
t change/modify the contents of a file once it is written. > > Thanks, > dhruba > > -Original Message- > From: Ahmad Humayun [mailto:[EMAIL PROTECTED] > Sent: Saturday, March 01, 2008 1:27 AM > To: [email protected] > Subject: Re: hdfsLock > > We

RE: hdfsLock

2008-03-02 Thread dhruba Borthakur
: [email protected] Subject: Re: hdfsLock Well this is what I want to do. Lets say I have two nodes A & B each working with the HDFS. I have a file named, say, temp. In the file temp I just store a single integer (1 or 0). Now both these nodes access the file temp. Everything in concept should wor

Re: hdfsLock

2008-03-01 Thread Ahmad Humayun
<[EMAIL PROTECTED]> > > 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: >

Re: hdfsLock

2008-02-28 Thread Raghu Angadi
PROTECTED]> 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 f

Re: hdfsLock

2008-02-28 Thread Owen O'Malley
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 timeand multiple simultaneous readers doesn't cause any problem...hence locks make no sense in this situation??? Locks were remov

Re: hdfsLock

2008-02-28 Thread Ahmad Humayun
Raghu Angadi <[EMAIL PROTECTED]> 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 a

Re: hdfsLock

2008-02-28 Thread Raghu Angadi
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

hdfsLock

2008-02-28 Thread Ahmad Humayun
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