<div dir="ltr"><div>Hi folks. Im wondering wether i should expect gluster to always return identical stat info for a file on the system. seems like, by definition of a "distributed file system" the answer would be yes. But Im not seeing that. Rather, I'm seeing different metadata from the stat command, in particular, the modification time is not the same. <br>
<br></div><div>FYI, these two machines are not clock synchronized, but -- should that be an issue? I would assume there would be one central source of truth for any stat info on a file in the global namespace, right?<br>
</div><div><br></div><br># ssh mrg11 stat /mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens [1/1897]<br>
<br> File: `/mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens'<br> Size: 38 Blocks: 1 IO Block: 131072 regular file<br>Device: 13h/19d Inode: 11771249148879556417 Links: 1<br>
Access: (0644/-rw-r--r--) Uid: ( 493/ yarn) Gid: ( 490/ yarn)<br>Access: 2013-10-24 14:22:28.858586945 -0400<br>Modify: 2013-10-24 14:22:28.861593090 -0400<br>Change: 2013-10-24 14:22:28.861593090 -0400<br><br>
#ssh mrg12 stat /mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens <br> <br> File: `/mnt/glusterfs/user/yarn/.staging/job_1382637900757_0002/appTokens'<br>
Size: 38 Blocks: 1 IO Block: 131072 regular file<br>Device: 13h/19d Inode: 11771249148879556417 Links: 1<br>Access: (0644/-rw-r--r--) Uid: ( 493/ yarn) Gid: ( 490/ yarn)<br>Access: 2013-10-24 14:22:29.868940729 -0400<br>
Modify: 2013-10-24 14:22:29.871694979 -0400<br>Change: 2013-10-24 14:22:29.871694979 -0400<br><br><div><div><br><br></div></div></div>