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 <[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 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
