Re: Atomic file updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For vanilla apps that are doing stuff in gluster, you normally do it through a fuse mount. 

mount -t glusterfs localhost:HadoopVol /mnt/glusterfs

But in your case, you might want to do some strict consistency settings to make it atomic:

mount -t glusterfs localhost:HadoopVol -o 
entry-timeout=0,attribute-timeout=0 /mnt/glusterfs

This will make sure that everything is refreshed when you look up files.  This strategy has solved our eventual consistency requirements for the hadoop plugin.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux