Re: Locks in HDFS

2013-02-21 Thread abhishek
Thanks for reply harsh.I would look into Zookeeper. Regards Abhi On Feb 22, 2013, at 1:03 AM, Harsh J wrote: > HDFS does not have such a client-side feature, but your applications > can use Apache Zookeeper to coordinate and implement this on their own > - it can be used to achieve distributed

Re: Locks in HDFS

2013-02-21 Thread Harsh J
HDFS does not have such a client-side feature, but your applications can use Apache Zookeeper to coordinate and implement this on their own - it can be used to achieve distributed locking. While at ZooKeeper, also checkout https://github.com/Netflix/curator which makes using it for common needs ver

Locks in HDFS

2013-02-21 Thread abhishek
> Hello, > How can I impose read lock, for a file in HDFS > > So that only one user (or) one application , can access file in hdfs at any > point of time. > > Regards > Abhi