If you're merely sharing a writer instance among threads, there
shouldn't be a problem (not at the HDFS level anyway, since it is just
one writer connection with plenty of write calls).
On Fri, Aug 5, 2011 at 6:39 PM, Sudharsan Sampath wrote:
> Hi,
> Does hdfs support writing in parallel to the s
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,
U