Hi Sampath, HDFS will maintain one lease for every opened file. If one thread created the file and not closed, then other clients will get AlreadyBeingCreatedException.Because lease exists for that file.
Once the file is closed , lease will be cleared.Then other clients can write. Regards, Uma ----- Original Message ----- From: Sudharsan Sampath <sudha...@gmail.com> Date: Friday, August 5, 2011 6:40 pm Subject: Multiple threads write to the same file To: hdfs-user@hadoop.apache.org > Hi, > > Does hdfs support writing in parallel to the same hdfs file using > sharedwriter among a pool of threads? > > Thanks > Sudhan S >