You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Aastha Mehta <aa...@gmail.com> on 2011/04/15 14:08:13 UTC

open a file in read and write mode simultaneously?

Hello,

I am trying to open a file in WRONLY | CREAT and RDONLY mode simultaneously,
in HDFS. I use one handle for the first mode and another pointing to the
same file in the second mode. I am not able to do so. While I believe that
HDFS does allow for concurrent reads and writes. Please let me know, how I
can achieve concurrent read and write to the same file.

Thanks,

Aastha.

-- 
Aastha Mehta
Intern, NetApp, Bangalore
4th year undergraduate, BITS Pilani
E-mail: aasthakm@gmail.com