<div dir="ltr"><div><div class="" id="LC3"><span class="">For vanilla apps that are doing stuff in gluster, you normally do it through a fuse mount.  <br><br></span><span class=""><span class="">mount -t glusterfs localhost:HadoopVol /mnt/glusterfs<br>
<br>But in your case, you might want to do some strict consistency settings to make it atomic: <br><br></span>mount -t glusterfs localhost:HadoopVol -o <span class=""></span></span><span class=""><span class=""><span class=""> entry-timeout=0,attribute-timeout=0</span></span> /mnt/glusterfs<br>
</span></div><br></div>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.<br></div>